Jump to content

Problem or bug with MySQL?


GTX

Recommended Posts

Posted

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
Posted

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 xD

Posted
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

Posted

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
Posted

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 xD

Posted

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
Posted
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?

Posted

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
Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...