Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
新人求助 mysql问题
Experiences and Insight
458
views ·
4
replies ·
To
floor
Go
wan5198
deepin
2019-08-28 23:41
Author
wan@wan-PC:~/Desktop$ mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
我使用的是命令安装,中途,没有设置密码 现在一直报上面的错误,请问怎么办???
Reply
Like 0
Favorite
View the author
All Replies
Feng Yu
deepin
2019-08-29 00:14
#1
https://stackoverflow.com/questi ... sword-for-mysql-5-7
Reply
Like 0
View the author
173******56
deepin
2019-08-29 02:25
#2
sudo mysqld --initialize --user=mysql
mysql会指定一个默认密码
Reply
Like 0
View the author
forme
deepin
2019-08-29 04:02
#3
更简单的办法可能是 sudo mariadb -uroot -p
Reply
Like 1
View the author
woshishangren
deepin
2022-07-18 02:01
#4
forme
:
更简单的办法可能是 sudo mariadb -uroot -p
我从3点半开始折腾到6点,你这一条命令搞定了,厉害呀!!!!
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
我使用的是命令安装,中途,没有设置密码 现在一直报上面的错误,请问怎么办???