MySQL
Geoooo
这个作者很懒,什么都没留下…
展开
-
连接MySQL时出现1045 access denied for user 'root'@'localhost' (using password YES) 错误
在链接MySQL数据库时:出现1045 access denied for user 'root'@'localhost' (using password YES)错误 解决方法: 在MySQL 服务器上使用root登录后,执行如下SQL语句: mysql 登录命令:>mysql -u root -p;输入密码 然后执行如下命令:1....原创 2019-01-23 20:40:26 · 4060 阅读 · 0 评论 -
在CentOS中开启mysql服务
1、Linux CentOS一般作为服务器使用,因此,MySQL服务器应该随机自启动。查看开机自启动的服务使用chkconfig命令,如下:#chkconfig --list或是只查看MySQL服务#chkconfig --list mysqld可以看到mysql的2~5为on,说明mysql服务会随机器启动而自动启动。2、配置MySQL的开机自动启动chkconfig -...原创 2019-05-08 21:18:32 · 7389 阅读 · 0 评论