mysql

xiaoxiao2021-03-06  15

A development version of PHP4 is required.

Mysql, need to modify: chmod -r 777 / usr / local / mysql / var

MySQL logs: / var / lib / mysql / *. Err You will find mysql only, because / var / lib / mysql permissions do not allow mysql service access, English MySQL default is to call mysql users to start the service, Ok, since it knows what is found, it can't start, it is simple.

After I saw MySQL documents, I found a solution, I hope to use it to others .1. # Adduser mysql2. # Chown -r mysql.mysql / usr / local / mysql then start mysql, run mysqladmin -u root password "mypassword" no longer /tmp/mysql.sock problem

Reply: It is best to use ./SAFE_MYSQLD -U Mysql &, not ./safe_mysqld -u root &, because after use, if you use the latter, you will use the mysql.server, or use the command is ./safe_mysqld --user = mysql &,

#Adddefaultcharset ISO-8859-1ADDDEFAULTCHARSET OFF

转载请注明原文地址:https://www.9cbs.com/read-46028.html

New Post(0)