PDA

View Full Version : Error message: Can't connect to local MySQL server through s


martc
4th of September 2003 (Thu), 02:37
Hi, very impressed with gallery programme much better than many Ive seen thought Id give it a try. Very much a newbie to all PHP/CGI etc but getting there.

Successfully loaded the exhibition files onto my server and also executed the setup however it failed with the following message.

Quote"

Dumping 1.22 SQL data

MySQL version:3.23.49

DATABASES AVAILABLE:
INSERTING CORE EE DATA:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR IN QUERY:
DROP TABLE IF EXISTS `ee_camera`

"Unquote

Ive searched the forum for similar problems but not found anything. ive set up sql and Ive also looked at the sql database through the admin function that comes with my server. The database exists but has only one table in it which is a test table created when the dbase was set up.

Can you help advise how to overcome this problem.

Tks in advance M.

TomKa
4th of September 2003 (Thu), 04:20
Try this:
http://forums.devshed.com/t19271/s.html

If I get some error messages it often helps to search via Google on the web or in the Groups.

martc
4th of September 2003 (Thu), 05:37
Thanks very much for the hint will get straight on it. Ill post message to help others too.

Tks again M

martc
7th of September 2003 (Sun), 03:10
Tks for help the problem was much simpler than any of the posts I found with your help.

It was a coplete beginner problem, I'd deleted the " " around the database name, host etc. Ah these tricky little computers and their desire for precision.

EE is up and running as intended.

Tks again for the tip and hint,

Martc

TomKa
7th of September 2003 (Sun), 05:43
I have a folder with the "source" files from Pekka, and another folder to do the translation work or to change some html code. For this work I'm using UltraEdit 10. You can enable the line numbers, you can open two windows and scroll the two windows together. Very helpful to edit the files.