Recent

Author Topic: (Solved) Mariadb error socket '/tmp/mysql.sock' (2)  (Read 2091 times)

GAN

  • Sr. Member
  • ****
  • Posts: 370
(Solved) Mariadb error socket '/tmp/mysql.sock' (2)
« on: September 29, 2016, 04:51:29 am »
Hello, first excuse me for my English, my default language is Spanish.


I am using Lazarus 1.6 + Mariadb + Zeos 7.1.3a + TZMSQL 0.1.19. My OS is Linux Mint 17.2 x64 MATE.
mysql  Ver 15.1 Distrib 10.1.17-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2


I have this error.

SQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I am using a localhost:3306

The solutions I found on the web have not worked.


If anyone can help me, thanks.
« Last Edit: September 29, 2016, 07:16:47 am by GAN »
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

GAN

  • Sr. Member
  • ****
  • Posts: 370
Re: (Solved) Mariadb error socket '/tmp/mysql.sock' (2)
« Reply #1 on: September 29, 2016, 07:22:28 am »
I had an error in the protocol connection of ZConnection.

Incorrect: mysqld-5

Correct: mysql-5

I lost a whole day for a character ...
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

 

TinyPortal © 2005-2018