XFileSharing Pro - Software Error!! Modules/DataBase.pm line 28.

Message
Author
pvakr
Posts: 42
Joined: Dec 14, 2009 5:08 pm

Software Error!! Modules/DataBase.pm line 28.

#1 Postby pvakr » May 30, 2010 4:59 pm

Software error:

Can't connect to Mysql server. at Modules/DataBase.pm line 28.

I cannot figure out how to solve this error, can anybody give me some assistance?

Thanks

dotceo
Posts: 70
Joined: Dec 30, 2009 9:34 pm

#2 Postby dotceo » May 30, 2010 7:21 pm

Make sure you have the right username, password and mySQL Server address in the /cgi-bin/XFileConfig.pm

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#3 Postby nik0la » May 31, 2010 11:48 am

or try this in your db root:

"mysqladmin flush-hosts"


or try to delete ip2files records

pvakr
Posts: 42
Joined: Dec 14, 2009 5:08 pm

#4 Postby pvakr » Jun 03, 2010 11:56 pm

Thanks a lot everyone issue solved.

mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

#5 Postby mubin » Apr 07, 2012 6:37 am

How was this problem fixed?

Stefanzm
Posts: 85
Joined: Apr 08, 2012 3:41 pm

#6 Postby Stefanzm » Apr 11, 2012 3:29 pm

@mubin: probably he just waited. Today happened to me too , but quickly noticed that at this moment my host machine is at 100% CPU and thats why coudnt connect to the sql (atleast my opinion). In few seconds the CPU gone down and the site worked again without problems.