Home > database >  Mysql I couldn't find the datadir
Mysql I couldn't find the datadir

Time:10-05

Others in the virtual machine is installed mysql, how is not clear, is the test database, has also don't care, it was not until yesterday, and take a look at the results found that
Show variables like 'datadir, incredibly is empty??????? I will find out my in the default location. The CNF, datadir is/var/lib/mysql, but look into incredibly even can't find the path to the server, like don't have access to the configuration file, this is how to return a responsibility?

CodePudding user response:

See if there are any other variables

CodePudding user response:

reference 1st floor rucypli response:
to see if there are any other variables

Basedir also have no

CodePudding user response:

The whole environment, is only one of my. CNF, said there is no loaded the other configuration files

CodePudding user response:

What operating system? Process information under Linux see
Ps - ef | grep mysqld
  • Related