- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All Topicsok im trying to get mysql installed so that it can log snort packets
im having trouble running mysql. from red hat 9
I installed mysql from a binary format and it wasnt working at all so i uninstalled it (basiclly just a delete)
then i installed it from source but the same error keeps coming up when i do an ./mysqladmin -u root mypassword
the error i get is
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (11
1)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
and yes mysql.sock does exist but it may be that there is and ownership problem here as i am the root user and mysql.sock is under mysql user and group ownership
i think mysql is running, i do a ps -ax | grep mysql and i get a
root 4353 0.0 0.1 3572 620 pts/0 S 16:34 0:00 grep mysql
is this the same as mysqld?
also in the error log i get the message below when i try and start mysqld manually
040302 16:34:17 mysqld started
040302 16:34:17 InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://www.innodb.com/ibma
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
040302 16:34:17 mysqld ended
so any ideas what im doing wrong!?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: vaneklPosted on 2004-03-02 at 08:12:59ID: 10496263
No, mysql is definitely not running.
go to the mysql directory and look at the permissions of the mysql directory and files within it.
my guess is that the files are owned by root.
if so, change their owner to the 'mysql' user:
chown -R mysql mysql
(assuming your working directory is in the mysql parent directory.)
Change to the mysql user and try to start the server. Do a 'ps' again and look for a process
that starts with the word 'mysql'. The process you were looking at ('grep mysql') was the grep command
running, or just finishing.
If the mysql server doesn't come up, change to root and try again.