[dev] creating mysql tables

Muzaffar Ariff moose at time.net.my
Mon Apr 19 01:56:33 PDT 2004


I've succsesfully install imp with postfix on freebsd. but each time i
log in tis is what i get:

[line 108 of /usr/local/www/horde/lib/Prefs/sql.php]

the horde log (/var/log/horde.log) says this:

Can't connect to local MySQL server through socket 'tmp/mysql.sock'

i've check the net for a solution and it says that /tmp/mysql.sock
means i don't have a SQL table, whereby by running a script will
generate the mysql.sock file (hence create a mysql table for horde). now
i've found that the script to generate the table in:

<path-to horde>/horde/scripts/db/mysql_create.sql.

it says to run the following command:

mysql -user=root -password='password' < mysql_create.sql

when i run the above command it told me that:

#Can't connect to local MySQL server through socket 'tmp/mysql.sock'

now i'm really confuse, isn't the script suppose to create the table and
the sock file. but why it still wants to find the sock file, i'm out of
my mind trying to figure this this out. please help?

Muzaffar Ariff
moose at time.net.my



More information about the dev mailing list