[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Qube 3 and MySQL



Hello,
 
Just got a Qube 3 that has MySQL pre-installed.  I'm
fairly new to Linux so I may be doing some stuff
wrong, but I am having trouble getting MySQL
running.
 
Anyway, most SQL commands result a message similar to 
the following: "mysqladmin: connect to server
at 'localhost' failed
error: 'Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql
.sock' (111)'
Check that mysqld is running and that the
socket: '/var/lib/mysql/mysql.sock' ex
ists!"
 
This, of course, make sense, since mysqld isn't
running.  But when I try to start mysqld, I get
the message "001215  4:32:18  Can't start
server : Bind on unix socket: Permission denied
001215  4:32:18  Do you already have another
mysqld server running on socket: /v
ar/lib/mysql/mysql.sock ?
001215  4:32:18  Aborting".
 
To which, of course, the answer is no, because I
tried to run it to start it.
 
"safe_mysqld --user=mysql & " results in "[1] 6317 
[admin sbin]$ Starting mysqld daemon with
databases from /var/lib/mysql
/usr/bin/safe_mysqld: /var/lib/mysql/localhost.err
: Permission denied
/usr/bin/safe_mysqld: /var/lib/mysql/localhost.err
: Permission denied
/usr/bin/safe_mysqld: /var/lib/mysql/localhost.err
: Permission denied
mysqld daemon ended  "
 
Has anyone had experience with the pre-install on
the Qube 3 and can tell me what I'm doing wrong.
I'm willing to bet it's something stupid, but I'm
running out of what I can think of.  It seems
like I shouldn't do any configuration, since it
supposedly is preconfigured.
 
Anyway, if anyone can provide any assistance
(even if it's "stupid newbie, go read this"), I
would really appreciate it.
 
Thank you,
Sean Munson