Login Register






Having Problem in Mysql filter_list
Author
Message
Having Problem in Mysql #1
This is my problm when i type mysql

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


And i not see mysqld.sock file here :- /var/run/mysqld In this directory is se only this file mysql.pid


I can't start mysql :-
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
I tried everything but failed

Please help me

Reply

RE: Having Problem in Mysql #2
Install mysql-server, not mysql-client. You're getting that error because that file doesn't exist.
XMPP - wrath@xmpp.jp

Reply

RE: Having Problem in Mysql #3
Already installed sir but having problem in start mysql

Reply

RE: Having Problem in Mysql #4
(07-06-2015, 03:36 AM)D@rk1433 Wrote: Already installed sir but having problem in start mysql

If you have both mysql-client and mysql-server installed and it doesn't work then there's something wrong with your configuration files.
XMPP - wrath@xmpp.jp

Reply

RE: Having Problem in Mysql #5
have you created a mysql user? are you running a linux machine? Are you root when you try and start the service?
---
Click here to get started with Linux!

If I helped you, please +rep me, apparently we've started over on Rep and I'd like to break 100 again...

Inori Wrote: got clickbaited by roger

Reply

RE: Having Problem in Mysql #6
I made a python webserver and give the port 1010 and localhost is 127.0.1.1 but i didn't change configuration file

Reply

RE: Having Problem in Mysql #7
Try to cd into /var/run/mysqld and type ls. Show us the results of that.

Reply

RE: Having Problem in Mysql #8
There s only one file :-
mysqld.pid

Reply

RE: Having Problem in Mysql #9
Why is this in `Operating SYstems`? Also, you've given us close to no information; we need to know what operating system you're running, what MySQL version would be helpful, etc.
[Image: BXqGARG.png]

Reply