I'm not a programmer, but I wanted make site for myself.
Try many free hostings, but everywhere something not worked correctly or didn't worked.
Then I tried byethost4.com and made my site http://pasha4ur.iblogger.org/
(now it isn't working)
When I had just installed Joomla sometimes I get an errors
"Database Error: Unable to connect to the database:Could not connect to MySQL"
. Only a Joomla's demo-data was on the site at that time. SEO and mod_rewrite were enable.
Then I installed such components:
– PhocaGallery (перерисовать навигацию)
– Phoca Download Tree Module
– Phoca Download Chart Statistics Module
– Phoca Gallery Tree Module
– Phoca Gallery Image Module
– Mine Field Game
– Simple MP3 Player
And the errors started came more often. Then I installed a component Joomla Tags v1.3.3, get a better place in Google's query and sometimes got error
"DB function failed with error number 2006
MySQL server has gone away SQL=SELECT id, title, CASE WHEN CHAR_LENGTH(alias) THEN CONCAT_WS(':', id, alias) ELSE id END as slug FROM jtab_polls WHERE id = 15 AND published = 1"
on the frontpage. Now as I understood my SQL-server is down. Only an administrator's panel is working (I unpublished all installed by me modules, but this didn't help me raise up my site).Only 3-4 days and a hosting fallen. Can you please advise a new free hosting and what I did wrong?
My dialog with the support:
Iâ??m new on your hosting. This is my first site.
I have some problems with your MySQL-server. I am very often get errorpage â??Database Error: Unable to connect to the database:Could not connect to MySQLâ?? on my Joomla-site
Can you please fix this problem?
One time I was got this:
DB function failed with error number 2006
MySQL server has gone away SQL=SELECT id, title, CASE WHEN CHAR_LENGTH(alias) THEN CONCAT_WS(':', id, alias) ELSE id END as slug FROM jtab_polls WHERE id = 15 AND published = 1
A gone away error occurs if you run a query that takes to long, or triers to return more than 32mb of data in one query.
You should optimize your site or upgrade if you continue to see this error.
But I get the error "Database Error: Unable to connect to the database:Could not connect to MySQL" even when my Joomla-site was clean, without any additions and content!
Please try implementing a caching plugin to help with this issue.
Sorry for my poor English.