GTX Posted April 5, 2012 Share Posted April 5, 2012 Hello. I got problem with MySQL. I don't know if it's a bug or problem but it outputs this when I start the server: ERROR: Unable to connect to mysql: (2002) Can't connect to local MySQL Server trought socket '/var/lib/mysql/mysql.sock' (2) It's running on a VPS, I guess I installed MySQL correctly. Any idea? Thanks in advance. Link to comment
drk Posted April 5, 2012 Share Posted April 5, 2012 I had this error too sometimes in MySQL console. I reinstalled MySQL and now is working perfectly. Link to comment
Todd Posted April 5, 2012 Share Posted April 5, 2012 I had this error too sometimes in MySQL console. I reinstalled MySQL and now is working perfectly. this is also problem with connection server can't connect with DB Few problems related with that error: for example - BAD Config - BAD Hosting Link to comment
GTX Posted April 5, 2012 Author Share Posted April 5, 2012 I tried to reinstall, reboot and it didn't work. I'm hosting on domVPS.com. Link to comment
drk Posted April 5, 2012 Share Posted April 5, 2012 Do you have 2 or more MySQL servers with same database running on the same machine? Link to comment
drk Posted April 5, 2012 Share Posted April 5, 2012 What's your machine system and version? Link to comment
Todd Posted April 5, 2012 Share Posted April 5, 2012 I guess I installed MySQL correctly. I don't think so. Did you install all necessary dependencies before installation? Like mysql-server? Anyway.. Can you show MySQL configuration? Link to comment
GTX Posted April 6, 2012 Author Share Posted April 6, 2012 Yes, I installed MySQL server first. I'm running my server on Debian 64bit. MySQL works fine without innodb, networking and locking. Link to comment
Todd Posted April 6, 2012 Share Posted April 6, 2012 Did you try use /var/run/mysql/mysql.sock instead /var/lib/mysql/mysql.sock ? You can change it in your resource that connect with MySQL server. Link to comment
n30x Posted April 8, 2012 Share Posted April 8, 2012 Now we've the problem: -bash: /home/rru-server/mta-server: No such file or directory I did chmod 777 /home/rru-server/mta-server because before it was saying: Permission Denied. But now, no such file or directory. Please help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now