02 2017 档案
摘要:1)mysql -V 可以查看MySQL的版本号 2)在MySQL的命令界面,可以查看版本好 mysql> status
阅读全文
摘要:通过Navicat for MySQL连接到虚拟机中的MySQL,但是报了图的错误 要进行两步: 1)授权 mysql>grant all privileges on *.* to 'root'@'%' identified by 'youpassword' with grant option; m
阅读全文
摘要:在安装MySQL的时候,没有设置root密码,或者添加其他用户时,默认是没有密码的,此时我们mysql -uroot 就可以直接进入MySQL的命令界面 如果要添加root的密码,用set password for 'root'@'localhost' = password('newpassword
阅读全文
摘要:问题描述: 查看MySQL进程的状态: [root@dcx lib]# service mysqld statusmysqld is stopped 发现是关闭的,但是启动MySQL却报错 [root@dcx lib]# service mysqld startAnother MySQL daemo
阅读全文