Author Topic: Sorry, MySQL problem again  (Read 1646 times)

Anonymous

  • Guest
Sorry, MySQL problem again
« on: May 26, 2004, 04:13:55 pm »
I have the same problem using MySQL in Cacko ROM on my c860, I\'ve try several method (chown in /var/lib/mysql, using mysqlstart -u daemon)

but MySQL Still cannot start, I\'ve check the log file and it say :
1. Can\'t start server : Bind on unix socket : Permission denied
(is this part related to permission of /tmp? it\'s already 777 rights)
2. Do you already have another mysqld server running on socket : /tmp/mysql.sock
(I\'m sure that there is no file on /tmp directory)

I\'ve haven\'t change anything on /etc/my.cnf , is there anything I\'m missing?

Thanks for help

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
Sorry, MySQL problem again
« Reply #1 on: May 26, 2004, 04:55:21 pm »
In your my.cnf file, find the [mysqld] section and change the \"user=\" line to user=root.

Mike.
sl-c3100
pdaxrom 1.1.0 beta1

Anonymous

  • Guest
Sorry, MySQL problem again
« Reply #2 on: May 26, 2004, 08:30:21 pm »
I\'ve tried it before and it still have same error

- Change the user as \"root\" in my.cnf
- Start mysql using root (mysqlstart -u root)