GTX Posted April 5, 2012 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. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
drk Posted April 5, 2012 Posted April 5, 2012 I had this error too sometimes in MySQL console. I reinstalled MySQL and now is working perfectly. EPT Team Server Development: 0% Learning C++ | C++ is amazing
Todd Posted April 5, 2012 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
GTX Posted April 5, 2012 Author Posted April 5, 2012 I tried to reinstall, reboot and it didn't work. I'm hosting on domVPS.com. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
drk Posted April 5, 2012 Posted April 5, 2012 Do you have 2 or more MySQL servers with same database running on the same machine? EPT Team Server Development: 0% Learning C++ | C++ is amazing
GTX Posted April 5, 2012 Author Posted April 5, 2012 No, I don't. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
drk Posted April 5, 2012 Posted April 5, 2012 What's your machine system and version? EPT Team Server Development: 0% Learning C++ | C++ is amazing
Todd Posted April 5, 2012 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?
GTX Posted April 6, 2012 Author 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. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
Todd Posted April 6, 2012 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.
n30x Posted April 8, 2012 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.
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