Database Error.

Well, I didn’t touch a thing but out of the blue ( for thankfully a short time )

[font=“Courier New”][size=1]Error:[/size][/font][font=“Times New Roman”][size=3] Cannot connect to the database server[/size][/font]

[font=“Courier New”][size=1]Backtrace:[/size][/font] [font=“Times New Roman”]File:[/font] [font=“Times New Roman”]/home/xxxxxxxx/public_html/admin.php[/font] [font=“Times New Roman”]Line:[/font] [font=“Times New Roman”]20[/font] [font=“Times New Roman”]Function:[/font] [font=“Times New Roman”]require[/font]



[font=“Courier New”][size=1]Error:[/size][/font][font=“Times New Roman”][size=3] Cannot connect to the database server[/size][/font]

[font=“Courier New”][size=1]Backtrace:[/size][/font] [font=“Times New Roman”]File:[/font] [font=“Times New Roman”]/home/xxxxxxxx/public_html/index.php[/font] [font=“Times New Roman”]Line:[/font] [font=“Times New Roman”]18[/font] [font=“Times New Roman”]Function:[/font] [font=“Times New Roman”]require[/font]



I checked both files and both were as per original installation.

My web host ( as they usually do ) blamed the cart application.

Any guesses as to why this error would pop up ???

[quote name='termalert' timestamp='1402830201' post='185751']

Well, I didn't touch a thing but out of the blue ( for thankfully a short time )

[font=“Courier New”][size=1]Error:[/size][/font][font=“Times New Roman”][size=3] Cannot connect to the database server[/size][/font]

[font=“Courier New”][size=1]Backtrace:[/size][/font] [font=“Times New Roman”]File:[/font] [font=“Times New Roman”]/home/xxxxxxxx/public_html/admin.php[/font] [font=“Times New Roman”]Line:[/font] [font=“Times New Roman”]20[/font] [font=“Times New Roman”]Function:[/font] [font=“Times New Roman”]require[/font]



[font=“Courier New”][size=1]Error:[/size][/font][font=“Times New Roman”][size=3] Cannot connect to the database server[/size][/font]

[font=“Courier New”][size=1]Backtrace:[/size][/font] [font=“Times New Roman”]File:[/font] [font=“Times New Roman”]/home/xxxxxxxx/public_html/index.php[/font] [font=“Times New Roman”]Line:[/font] [font=“Times New Roman”]18[/font] [font=“Times New Roman”]Function:[/font] [font=“Times New Roman”]require[/font]



I checked both files and both were as per original installation.

My web host ( as they usually do ) blamed the cart application.

Any guesses as to why this error would pop up ???

[/quote]



Ask them to restart Mysql server.

The host mentioned a cost involved and it appears that the cart software caused it.

Are these things haunted or what ? Crashing one minute up and running the next.

It's all well and fine to say restart the Mysql server but what could have caused the

dysfunction in the first place ?