Welcome to dbFreaks.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Installation and config of MYSQL

 
   Database Help (Home) -> mySQL RSS
Next:  IIS and SQL - Clarified question  
Author Message
Sridhar Reddy

External


Since: Feb 20, 2005
Posts: 1



(Msg. 1) Posted: Sun Feb 20, 2005 9:22 pm
Post subject: Installation and config of MYSQL
Archived from groups: mailing>database>mysql (more info?)

Hi,
Need help. Installed Mysql in Redhat 9.0 workstation.
I have installed MYSQL,Appache,PHP.
PHP,Appache installation is fine and intergration is also working fine.
I have installed and configured MYSQL
Problem : I cannot log into MYSQL database either from root or user.(local host)

The error is 2002: unable to connect to local host thru socket "\var\lib\mysoc"
but cannot locate the mysql.sock in /tmp
And the service is sqldb is also not working and cannot locate in services

sridhar

 >> Stay informed about: Installation and config of MYSQL 
Back to top
Login to vote
laitkor

External


Since: Feb 15, 2005
Posts: 5



(Msg. 2) Posted: Sun Feb 20, 2005 11:18 pm
Post subject: Re: Installation and config of MYSQL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Check your /etc/my.cnf for socket file location
--
Jay
<a style='text-decoration: underline;' href="http://d2t2fish.blogspot.com" target="_blank">http://d2t2fish.blogspot.com</a>
Sridhar Reddy wrote:
 > Hi,
 > Need help. Installed Mysql in Redhat 9.0 workstation.
 > I have installed MYSQL,Appache,PHP.
 > PHP,Appache installation is fine and intergration is also working
fine.
 > I have installed and configured MYSQL
 > Problem : I cannot log into MYSQL database either from root or
user.(local host)
 >
 > The error is 2002: unable to connect to local host thru socket
"\var\lib\mysoc"
 > but cannot locate the mysql.sock in /tmp
 > And the service is sqldb is also not working and cannot locate in
services
 >
 > sridhar<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Installation and config of MYSQL 
Back to top
Login to vote
Bill Karwin1

External


Since: Jun 17, 2004
Posts: 42



(Msg. 3) Posted: Mon Feb 21, 2005 3:09 pm
Post subject: Re: Installation and config of MYSQL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sridhar Reddy wrote:
 > The error is 2002: unable to connect to local host thru socket "\var\lib\mysoc"
 > but cannot locate the mysql.sock in /tmp
 > And the service is sqldb is also not working and cannot locate in services

I have experienced this error most often when the MySQL server failed to
start. There needs to be a mysqld process running, even if you are
connecting to databases locally.

Start on this page for troubleshooting tips:
<a style='text-decoration: underline;' href="http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html" target="_blank">http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html</a>

FWIW, I usually have to do some number of MySQL server restarts when I
install it on Linux.

Regards,
Bill K.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Installation and config of MYSQL 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> mySQL All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]