mysql
vieber
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mac登陆mysql报错ERROR 1045 (28000): Access denied for user ‘xxx‘@‘localhost‘ (using password: NO)
解决方案 停止mysql 然后进入root模式 sudo su ./mysqld_safe --skip-grant-tables & 然后在执行mysql就可以进入了 参考链接 https://www.cnblogs.com/benbenzhu/p/5578162.html原创 2022-05-10 20:17:14 · 543 阅读 · 0 评论 -
Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock问题解决
报错提示 mysql -uroot -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) 在连接数据库的时候。连接不上,直接报了这个错误 解决办法 service mysqld start 执行这个命令,启动mysqld。这个时候就可以连接上了。 ...原创 2022-01-04 20:50:40 · 782 阅读 · 0 评论 -
mysql常见操作
创建数据库 CREATE DATABASE 数据库名; 创建数据表 CREATE TABLE IF NOT EXISTS `runoob_tbl`( `runoob_id` INT UNSIGNED AUTO_INCREMENT, `runoob_title` VARCHAR(100) NOT NULL, `runoob_author` VARCHAR(40) NOT NULL, `submission_date` DATE, PRIMARY KEY ( `runoob_id原创 2021-05-05 20:32:44 · 108 阅读 · 0 评论 -
ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘ (
mysql 报错信息 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) 重启mysql解决、 systemctl start mysqld.service原创 2021-01-17 21:58:16 · 150 阅读 · 0 评论 -
centos安装mysql失败
启动mysql报错原因 systemctl start mysqld ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to manage system services or units. Authenticating as: root Password: ==== AUTHENTICATION COMPLETE === Job for mysqld.service fa原创 2020-08-10 15:38:04 · 808 阅读 · 0 评论 -
mac安装mysql
https://dev.mysql.com/downloads/mysql/ 下载第一个mysql 安装启动完成之后在~/.bash_profile里面增加 PATH="$PATH":/usr/local/mysql/bin 这样就可以直接在命令行登陆 mysql -uroot -p ...原创 2020-02-07 23:11:56 · 119 阅读 · 0 评论 -
error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by serv
nodejs连接mysql的时候报这个错误 error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 代码 let mysql = require('mysql'); let con...原创 2020-01-29 16:53:05 · 5579 阅读 · 1 评论 -
node-mysql连接mysql失败Error: ER_NOT_SUPPORTED_AUTH_MODE
报错信息 { Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 这是自己在我的linux机器上,安装了 mysql Ver 8.0.12 for Linux on x86_6...原创 2018-10-05 16:51:05 · 14982 阅读 · 1 评论
分享