Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
求助:mysql5.7 更换了默认路径之后,无法启动
Apps Section
925
views ·
3
replies ·
To
floor
Go
纵一苇之所如,凌万顷之茫然
deepin
2018-01-23 23:24
Author
mysql-server-5.7 更换了默认路径之后,无法启动。目前只修改了、/etc/mysql/mysql.conf.d/ mysqld.cnf 这个文件。
网上也查寻了很多方法,但是都不行,运行service mysql start 后会报错
本人刚接触deepin 不久,希望能得到各位高手的提点。
Reply
Like 0
Favorite
View the author
All Replies
wangyingtao
deepin
2018-01-24 01:27
#1
使用如下命令,拷贝下mysql目录到你指定的路径下
sudo cp -a /var/lib/mysql /media/*****
Copy the Code
然后再次重启mysql服务
Reply
Like 0
View the author
纵一苇之所如,凌万顷之茫然
deepin
2018-01-24 09:27
#2
这个办法已经试过了,不行。
是不是还有其他的配置文件需要更改 比如/etc/init.d/mysql ,或者/usr/share/mysql/mysql-systemd-start
Reply
Like 0
View the author
winnsay
deepin
2019-05-01 00:22
#3
请问你这个问题找到原因了吗?
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
Looking Deepin ci 25.2.0 Developer/Unstable repositories
How to fix grub boot menu that has disappeared?
Popular Events
More
网上也查寻了很多方法,但是都不行,运行service mysql start 后会报错
本人刚接触deepin 不久,希望能得到各位高手的提点。