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 rel="nofollow" style='text-decoration: none;' 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

 >> 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 rel="nofollow" style='text-decoration: none;' 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.
 >> Stay informed about: Installation and config of MYSQL 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Tuning Mysql 4.1.10 - I have a freebsd box with 1 gig of memory for mysql/php, I was wondering what my my.cnf should look like, I am doing alot of searches and writes on ISAM tables, I currently have the following: [client] port=3306 socket=/tmp/mysql.sock [mysqld]..

Mysql InnoDB PHP - i have a strange problem : MySQL 4.0.21 innodb and php 4.3.9-1 all tables are in innodb type. For a simple select statement, sometimes i get result and sometimes nothing (i.e mysql_num_rows()>0 or mysql_num_rows()==0). It's a random behaviour. If my....

MySQL, MyODBC and ACCESS 2003 - Ok I have an interesting problem. I have written a database in Access to connect to our web shop and update prices etc from a supplier feed. It works almost perfectly! The prices are doubles, I am using ADO in access to connect via myodbc (with options....

com.mysql.jdbc.MysqlDataTruncation: - I just upgraded to MySQL to 4.1.9 and JDBC mysql-connector-java-3.1.6-bin.jar and now getting the following Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'usaCard' at row 1 What causes this exception? I've...

Query MySQL from Excel - Is it possible to pick up information from a MySQL database using a macro in Excel? Don
   Database Help (Home) -> mySQL All times are: Pacific Time (US & Canada)
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 ]