troubleshooting Question

how to start/setup mysql

Avatar of Mark
Mark asked on
LinuxMySQL Server
4 Comments1 Solution744 ViewsLast Modified:
I am trying to setup mysql version 14.12 on my Linux, slackware distro, kernel 2.6.27. I am not finding the on-line help very useful. I have never use mysql before.

mysql -V, gives: Ver 14.12 Distrib 5.0.67, for slackware-linux-gnu (i486) using  EditLine wrapper

running /etc/rc.d/rc.mysqld start, gives:

nohup: redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
120706 08:46:15  mysqld ended

but nothing appears to be started. Attempting to change the root password:

mysqladmin -u root password new-password, gives:

error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!

So, I think I'm stuck right at the beginning. How do I get mysql running?
ASKER CERTIFIED SOLUTION
netcmh

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros