troubleshooting Question

migrating mySql DB to another partition resulted in mySql cant start with an exit code

Avatar of sunhux
sunhux asked on
LinuxMySQL Server
28 Comments11 Solutions165 ViewsLast Modified:
We tried to move current mySql DB out of Linux system
partition by following the instructions in the links below
but mySql gave an error after migration:

& how do I change the location of the data directory? (Doc ID 1023178.1)

# systemctl start mysqld
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

DBA colleague told me there's not much of a clue from journalctl -xe
We're on RHEL 7.   Have also tried to create soft links to new partition
but it did not work.

What's missed?
Hopefull don't have to export all data out, recreate DB & re-import:
we don't want this option
David Favor
Fractional CTO
Join our community to see this answer!
Unlock 11 Answers and 28 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 11 Answers and 28 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros