|
Home > Archive > MySQL ODBC Connector > January 2006 > mysql 5.0.18: Bind on unix socket: Permission denied
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
mysql 5.0.18: Bind on unix socket: Permission denied
|
|
| Nathan Gross 2006-01-24, 8:23 pm |
| Yesterday I installed the XAMPP (used to be called LAMP) stack, which
includes mysql 5.0.18, on a Fedora Core 4 system. This seems like the
quickest way of getting version 5 running WITHOUT clashing at all with
my current install.
Everything went 100% smooth, and I was able to copy my 4.x myisam
based schemas over to the new directory (/opt/lampp/var/mysql), browse
the data with mysql's gui clients as well as with the phpMysql
console. (I do NOT bring both up simultaneously, and have disabled the
autostart for the old one.)
I changed the own and grp on the /opt/lampp directroy structure, with
the owner now being mysql with full rights.
I do not know at which point this happened but I can't bring up the
thing any longer. This is what I get:
060124 14:15:44 mysqld started
060124 14:15:44 [ERROR] Can't start server : Bind on unix socket:
Permission denied
060124 14:15:44 [ERROR] Do you already have another mysqld server
running on socket: /opt/lampp/var/mysql/mysql.sock ?
060124 14:15:44 [ERROR] Aborting
060124 14:15:44 [Note] /opt/lampp/sbin/mysqld: Shutdown complete
060124 14:15:44 mysqld ended
Your help is appreciated.
-nat
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
| |
| Gleb Paharenko 2006-01-26, 4:56 pm |
| Hello.
Make several checks that should help.
Be sure that no instances of MySQL are running on your computer and
check if 5.0.18 starts successfully. Specify another location of the
socket file. Temporary disable SELinux. See:
http://dev.mysql.com/doc/refman/5.0...ing-server.html
Nathan Gross wrote:
> Yesterday I installed the XAMPP (used to be called LAMP) stack, which
> includes mysql 5.0.18, on a Fedora Core 4 system. This seems like the
> quickest way of getting version 5 running WITHOUT clashing at all with
> my current install.
> Everything went 100% smooth, and I was able to copy my 4.x myisam
> based schemas over to the new directory (/opt/lampp/var/mysql), browse
> the data with mysql's gui clients as well as with the phpMysql
> console. (I do NOT bring both up simultaneously, and have disabled the
> autostart for the old one.)
> I changed the own and grp on the /opt/lampp directroy structure, with
> the owner now being mysql with full rights.
> I do not know at which point this happened but I can't bring up the
> thing any longer. This is what I get:
> 060124 14:15:44 mysqld started
> 060124 14:15:44 [ERROR] Can't start server : Bind on unix socket:
> Permission denied
> 060124 14:15:44 [ERROR] Do you already have another mysqld server
> running on socket: /opt/lampp/var/mysql/mysql.sock ?
> 060124 14:15:44 [ERROR] Aborting
>
> 060124 14:15:44 [Note] /opt/lampp/sbin/mysqld: Shutdown complete
>
> 060124 14:15:44 mysqld ended
>
> Your help is appreciated.
> -nat
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
| |
| Gleb Paharenko 2006-01-27, 9:23 am |
| Hello.
Please, next time always CC your messages to the list as well. I'm
not a lampp expert and can only point you to:
http://dev.mysql.com/doc/refman/5.0...am-options.html
>This advice proved very helpful. This is where its at now:
>I noticed that the .err file belonged to user 'nobody'. *Somehwere* in
>the lampp scripts (or is compiled?) it forces this user. If I change
>into /opt/lampp/sbin and do "./mysqld -umysql" it comes up! BUT... I
>don't know what cnf it reads and/or what else lampp needs to feed it
>upon startup. I text searched the entire lampp subdir, but I cant
>figure out where I can tell lamp to use user "mysql". (Two obvious
>places, don't work.)
>If anyone knows, please advise.
>Thanks;
-nat
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
| |
|
|
|
|
|