OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: johnw on November 02, 2004, 06:59:22 pm

Title: Need help with MySQL on 6000L
Post by: johnw on November 02, 2004, 06:59:22 pm
I have MySql installed on my 6000L & I am having problems getting it to run.

I ran mysql_install_db without any errors, but when I try running mysqlstart the following error is written to mysql.err:

mysqld started on  Mon Nov 1 23:54:42 UTC 2004
041101 23:54:43  Can't start server : Bind on unix socket: Permission denied
041101 23:54:43  Do you already have another mysqld server running on socket: /usr/mnt.rom/card/mysql/tmp/mysql.sock ?
041101 23:54:43  Aborting

mysqld ended on  Mon Nov 1 23:54:43 UTC 2004

Whats odd is that there is nothing running on that port.  I've run netstat & its completely clear.

Any hints?

Thanks.
Title: Need help with MySQL on 6000L
Post by: zmiq2 on November 03, 2004, 04:18:31 am
Hi John,

mysql is trying to create a socket file on that path, but it cannot.

You have two different solutions:

1) create the path /usr/mnt.rom/card/mysql/tmp/ and make sure is writeable by the mysql user

2) at the mysql configuration file (check mysqlstart script to find out where that file is located), change the path of the mysql.sock file, so it is created in an exisiting path with proper write permissions

HTH
Title: Need help with MySQL on 6000L
Post by: johnw on November 04, 2004, 11:43:02 am
Thanks for the help.  It was a directory permissions problem.  MySql is running now on my new 6000L.