Vote to Improve PrestaShop

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

[Solved] Panic: Site down without explainable reason (Link to database cannot be established)


  • Please log in to reply
7 replies to this topic
Tintarella

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts

Posted 30 July 2009 - 07:32 AM

Link to database cannot be established.

This is the error I get, during visits to site and backend.

Could anyone explain how to fix this in simple english.
I've tried to solve it by searching old threads but I'm not getting it right :(


Thanks

MikeChoy

    PrestaShop Apprentice

  • Members
  • PipPip
  • 184 posts

Posted 30 July 2009 - 07:48 AM

Did you do an installation?
You have to check your settings.inc.php to ensure that all the define parameters are correct.
Posted Image
www.humpalang.com on Prestashop1.4.4
www.sginternetshop.com on Prestashop 1.2.0.6 -> Now 1.4.4
www.datatracktechnologies.com - Wordpress

Tintarella

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts

Posted 30 July 2009 - 07:49 AM

Site has been up and running several weeks. I did nothing to anything, it just went crazy on me with no reason what so ever.

MikeChoy

    PrestaShop Apprentice

  • Members
  • PipPip
  • 184 posts

Posted 30 July 2009 - 08:01 AM

Did you check with your hosting to see if the problem is at their end.
Posted Image
www.humpalang.com on Prestashop1.4.4
www.sginternetshop.com on Prestashop 1.2.0.6 -> Now 1.4.4
www.datatracktechnologies.com - Wordpress

jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 2050 posts

Posted 30 July 2009 - 08:53 AM

Sounds like the sql server may be down from your host.
Don't forget, if you find a post particularly helpful, click the like button to show other members it is helpful.

Tintarella

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts

Posted 30 July 2009 - 08:58 AM

Got this error when trying to access mysql from web interface:

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /usr/home/local/domains/xxx/xxx.inc.php on line 52
Was unable to create a connection to usr MySQL
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/home/local/domains/xxx/public_html/xxx.php on line 1764


I've sent an e-mail to the host..begging for their help. Could take days. The only thing I can access is the ftp.

jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 2050 posts

Posted 30 July 2009 - 09:05 AM

I've sent an e-mail to the host..begging for their help. Could take days. The only thing I can access is the ftp.



If it takes days to get support from your host, you need to change them.
Don't forget, if you find a post particularly helpful, click the like button to show other members it is helpful.

Tintarella

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts

Posted 30 July 2009 - 06:18 PM

Solved. The host had some internal problems which now have been resolved. I guess I should change host :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users