Mysql常用DBA命令-CSDN博客

网站介绍:1、连接mysql服务器mysql -h host -u user -p[password] [database]不建议直接在命令行直接输入密码,因为密码会以明文显示在命令行,不安全。 连接mysql服务器可能会报以下错误:ERROR 1130 (HY000):Host 'hostname' is not allowed to connect t