Failed to find valid data directory. MySQL generic binary installion
问题 Im going to install mysql to linux server. But I dont have root access to that server. So I created two folders called mysql and mysqldata. mysql folder holds binary files. mysqldata folder holds data and the logs. my.cnf [mysqld] user = mysql port = 3306 bind-address = localhost basedir = /home/nwn/mysql/mysql-8.0 socket = /home/nwn/mysqldata/instA/socket/mysql.sock datadir = /home/nwn/mysqldata/instA/data tmpdir = /home/nwn/mysqldata/instA/tmp secure_file_priv = /home/nwn/mysqldata/instA