The user that mysql run as, has permission to write in the /var/run/mysql dir?
Ronan > muhammad alqama wrote: > > hi > > > > ******(plz someone help me urgently)****** > > > > i have tried the procedure mentioned below but of no avail. > > this is the exact message in .err file > > > > "can not start server : bind on unix socket : permission denied > > do you have another mysql server running on socket /var/run/mysql/mysql.sock ? > > /usr/libexec/mysqld : shutdown complete > > mysqld ended > > " > > > > ---> i am trying to run the server as root > > ---> there is no such file as /var/run/mysql/mysql.sock > > > > now what to do > > > > regards > > alqama > > > > > > > Hi! > > a few things to try: > 1.- you should never start the server as root, instead try starting > mysql as mysql user > 2.- do you have write permission under /var/run/mysql? > > Best Regards > > -- > > |...........................................................| > |____ _____ ____ _ |Victor Medina M | > |\ \ \| ____| _ \ / \ |Linux - Java - MySQL | > | \ \ \ _| | |_) / _ \ |Dpto. Sistemas - Ferreteria EPA | > | / / / |___| __/ ___ \ |[EMAIL PROTECTED] | > |/_/_/|_____|_| /_/ \_\|Tel: +58-241-8507325 - ext. 325 | > | |Cel: +58-412-8859934 | > | |geek by nature - linux by choice | > |...........................................................| > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]