当前位置:Gxlcms > 数据库问题 > ubuntu16.10 中安装mysql

ubuntu16.10 中安装mysql

时间:2021-07-01 10:21:17 帮助过:25人阅读

进入mysql:root@ubuntu:~# mysql -u root -p123456

在mysql中执行以下命令:

grant all on *.* to root@% identified by 123456;
flush privileges;

退出mysql: exit;

最后在终端中重启mysql:

root@ubuntu:~# /etc/init.d/mysql restart

 

ubuntu16.10 中安装mysql

标签:server   bind   bsp   编辑   ubuntu   roo   bash   lib   ddr   

人气教程排行