Loading...
Changes Saved.
Error Occurred!
iDC File Manager - web based file manager
Contact Us
Online Support
Try Demo
Store
Home
File Manager Labs
iDC File Manager - Blog
Upgrade To Version 1.5 Now!
*What's New   |   Overview   |   Features List   |   Which Version?  |   Testimonials   |   Knowledge Base   |   Requirements   |   Upgrade

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

If when you attempt to run the RunOnce.pl file it returns the following error message:

Software Error:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

you need to re-configure the MySQL Database settings on line 95 of the Configuration.pl file to specify the correct host name instead of the default setting of "localhost".

For example:

93
94
95
96
97
98
99
100
101
####MySQL Database Settings####################################################
 
dns 'DBI:mysql:DATABASE-NAME-HERE:localhost'
dbUser 'Your Username'
dbPassword 'Your Password'
#Change the "MySQL Database Settings" to correspond with
#the Mysql database you have setup.
 
###############################################################################

Becomes:

93
94
95
96
97
98
99
100
101
####MySQL Database Settings####################################################
 
dns 'DBI:mysql:DATABASE-NAME-HERE:HOST-NAME-HERE'
dbUser 'Your Username'
dbPassword 'Your Password'
#Change the "MySQL Database Settings" to correspond with
#the Mysql database you have setup.
 
###############################################################################

To ascertain the correct hostname for your server please contact your host or network administrator.

Tip: The Hostname can also be located in the location where you originally created the MySQL database.

When you have changed the hostname, please save and then re-upload the Configuration.pl script before re-trying the RunOnce.pl file.

 


© Copyright i Dot Communications





1

Add Comment

Please also verify yourself by typing the text in the following image into the box below it.

Related Articles