» Home » MySQL » Page 1
Mysql error shown Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
Category : Databases

I tried to install mysql in my local system. When i tried to connect it its showing an error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' Dont know how its happen. can any one help to solve it
Thanks


View Replies


MySQL error 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql.sock' in widows 7
Category : Operating Systems

Well, the question I am asking may seem stupid but it is biting me hard for the last couple of days. I am not able to run any mysql commands from the Windows command line even though the mysql installation folder is included in the PATH.


When I tried to execute a mysql command I got the above error. I tried several installation/un-installation of mysql version and ended up with no


View Replies


How to make Django work with unsupported MySQL drivers such as gevent-mysql or Concurrence's MySQL driver?
Category : Databases

I'm interested in running Django on an async framework like Concurrence or gevent. Both frameworks come with its own async MySQL driver.


Problem is Django only officially supports MySQLdb. What do I need to do to make Django work with the MySQL drivers that come with gevent or Concurrence?


Is there a step-by-step guide somewhere that I can follow? Is this a major undert


View Replies


Cygwin connecting to MySQL: Can't connect to local MySQL server through socket '/var/run/mysql.sock'
Category : Databases

I just installed MySQL 5.5.27 on WinXP. When I open a command prompt (Start -> Run, and type "cmd"), I can access MySQL by running "mysql -u root -p". However, when I open a Cygwin terminal and try the same thing, I get this error


$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql.sock' (2)

View Replies


Magento - Create new user returns SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' He
Category : Development Tools & Services

I'm at my wits end with this one. Everything else on this new live site works flawlessly except this one issue. I can't create new customer accounts without it returning this error. I've tried everything I can think of in my own wheelhouse. Any suggestions? Magento forums are a wash for support.


View Replies


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

I tried restarting the Mysql server but its not working for me. I am sure the server is running and the permissions on the folder /var/lib/mysql/ are correct (777).


When i tried to open the file mysql.sock, its giving me an error saying the file may be corrupt.


Please help me log in to DB. Thanks in advance.


This is how My.cnf looks


<

View Replies


Rails application unable to connect to mysql, Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2) (Mysql2:
Category : Databases

Hello lovely people of the stack!


I'm currently stuck on what is (I hope a newby) problem with a rails project (this is my first rails project and so I apologise if I miss anything crucial). I've been at this for a couple of hours and can't seem to find any solutions. I have tried the solutions to the following threads with no avail.


connect to local MySQL server through


View Replies


Linux: MySQL: how to use a mysql databases on a mounted NTFS as mysql database in linux?
Category : Operating Systems

i wanna use databases in D:xamppmysqldata in my linux mysql without moving it. so i can work on them from both linux and windows


here is what i did:


# mount -t ntfs -o uid=mysql,gid=mysql,dmask=002,fmask=113 /dev/sda5 /media/public/
# cd /var/lib/mysql
# ln /media/public/xampp/mysql/data/my_db -s
# chown -R mysql:mysql /var/lib/mysql/my_db
<

View Replies


Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Category : Programming Languages

When i connect my database by a php script it shows


Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

the username and password is right.


something of the my.cnf


[client]
#password = your_password
port = 3306
socket = /data/mys

View Replies


MYSQL import: port a big list of names into mysql table column. An easy way?
Category : Databases

I have a txt file with tons of complex names I want to insert into my sql table named cred_insurances. The table is currently blank. Each line should be one record and the name should be in the column called ProviderName. My text file is like this:


Alabama Medicaid
Alaska Medicaid
Arizona Medicaid (AHCCCS)
Arkansas Medicaid
California Medicaid
Colorado Me

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .