一.创建用户和授权 下面的操作中,其中someusername为用户名,somepassword为密码,somedbname为数据库名 1.创建用户 create user 'someusername' identified by 'somepassword'; 2.授权 GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON somedbname.* TO 'someusername'; 或者 grant all privileges on…
MySql篇 1.下载并安装Mysql (1)下载地址 MySQL-8.0下载地址 (2)Mysql配置 1.home目录下命令行执行:vi .bash_profile来配置MySql绝对路径 2.MySql配置如下: Setting PATH for MySql 8.0.15 # Setting PATH for Python 3.7 #The original version is saved in .bash_profile.pysave PATH="/Library/Framewo…