Solved

Installing MySQL on Red Hat Linux:

Posted on 2006-06-20
5
718 Views
Last Modified: 2010-08-05
Hi,

I'm installing MySQL 5.0 on Red Hat Linux Enterpise ES, I installed the client, server, and shared RPMs from mysql.org,
but when I try to run "mysqld" to start the server, I get the following error:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

but I look into /var/lib/mysql/ and found out that mysql.sock is not even there.

Please help!

thanks,

Jack

0
Comment
Question by:huabin
  • 3
  • 2
5 Comments
 
LVL 7

Assisted Solution

by:db2inst1
db2inst1 earned 500 total points
ID: 16947733
Try

./bin/mysqld_safe &

or

service mysql start.

Was your installation successfull?
0
 

Author Comment

by:huabin
ID: 16948574
Hi,

I have tried two of them, but none of them work.


"./bin/mysqld_safe &": it dispay the message "Starting mysqld daemon with database from /var/lib/mysql, and then it just stop here.


"service mysql start": it disply the message "Starting MySQL......[Failed"

Jack
0
 
LVL 7

Assisted Solution

by:db2inst1
db2inst1 earned 500 total points
ID: 16948579
see if you can find any useful information from the errorlog its ususally located /var/lib/mysql/<hostname>.err
0
 

Author Comment

by:huabin
ID: 16948589
Hi,

I get the a lot of the error message said
"Unable to lock ./ibdata1, error 11" , "Check that you don not already have another mysqld process"
in the <hostname>.err file.

But I sure MySQL is not running, why there maybe another mysqld process running?

Jack

0
 
LVL 7

Accepted Solution

by:
db2inst1 earned 500 total points
ID: 16948610
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help with a query 6 73
Amazon Redshift 2 35
How can i make performance tuning to my sql query? 6 47
MySQL Query Using Up Memory 6 27
Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question