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,933
  • 21
  • 68
  • 111
Victor
  • 16,609
  • 71
  • 229
  • 409

0 Answers0