0

I am trying to start mysql and getting error:

Can't create test file /var/lib/mysql/$HOSTNAME.lower-test

The directory does not exist.

But in my.cnf, I specified different directory like this:

datadir=$SOME_DIR and this directory has proper write permissions.

Why does it still look for var/lib/mysql?

PM 77-1
  • 12,254
  • 20
  • 64
  • 106
Victor
  • 15,903
  • 67
  • 211
  • 390

0 Answers0