1.连接服务器: mysql -uroot -p密码 2.修改登录密码: 3.查看mysql版本信息 status 4.离开服务器 exit; 数据库的基础操作 注意:mysql语句在命令行操作一定要加分号,在navicat软件中可以不加分号,在mycli中也可不加。 1.查看所有数据库: show databases; 2.新建数据库:...
mysql的配置文件my.cnf参考参数 [mysqld] # # Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else...