mysql 改root 密码 及远程连接

(1)为安全起见,给数据库的root用户设置密码 [[email protected] ~]# mysql -u root -p  //利用root用户登录数据库 Enter password:     //新安装的数据库是没有密码的,这里直接按下回车就行 Welcome to the MariaDB monitor.  Commands end with ; or \g. Your MariaD
相关文章
相关标签/搜索