Home > database >  After centos7 mysql installation cannot be started without any response
After centos7 mysql installation cannot be started without any response

Time:09-22

Such as, the specific situation is:

(1) don't know what to say if this help mention, use this statement when installation, the original plan to install mariadb, results suggest mariadb was replaced by the mysql, is automatically changed to install mysql -...


(2) use this statement to start the mysql after installation is complete, the results there is not any response has been card (Internet search a lot of previous similar problems will have at least an error message, but I don't have what reaction is -- --

Using systemctl status mysqld. Service to check the service start failure reason, following


CodePudding user response:

Look at the inside of the configuration files in the data directory error log

CodePudding user response:

. Look at my CNF and/etc/init. D/mysql configuration inside, and the path of your installation or configuration is different, I am using MySQL5.7 configuration is the default, you can consult,

CodePudding user response:

Can you solve it, I also am this kind of circumstance, ask for help!

CodePudding user response:

No excuse me solve? The same problem, help yo

CodePudding user response:

Mysqld_safe - datadir= '/var/lib/mysql'
Red annotation view/etc/my CNF

CodePudding user response:

Tong wen
  • Related