[Gambas-user] mysql error

Charlie karl.reinl at ...9...
Mon Sep 22 21:07:16 CEST 2003


Dominico schrieb:

> I ran the sample application called "DataBase" that came with Gambas. 
> When I try to connect to mysql, I received an error below:
>
> Cannot open database: "can't connect to local Mysql server through 
> socket "var/lib/mysql/mysql.sock (2)"
>
> FYI: Maybe because I didn't know what to enter for the HOST, USERNAME, 
> and PASSWORD fields. The application should create a new table if it 
> doesn't exist though.
>
> Do I need to install MYSQL on my redhat9 ? I remember installing a few 
> mysql QT packages before installing Gambas. I don't know why the 
> application is unable to locate MySQL.
>
> Please help, Thanks.
>
> Dominic
>
Dit you start mysql ?
I do not know how to do it on redhad, but I think it must be done in 
/etc/init.d   something like mysql or mysqld.

amicalement
Charlie





More information about the User mailing list