forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Daquota on January 22, 2008, 06:49:34 am

Title: Coppermine critical error:
Post by: Daquota on January 22, 2008, 06:49:34 am
This is the message displayed across my page when I try to access my coppermine accounts. All of them say the same thing, I am unhappy because it has every pic I have taken of my kids on there. I don't want to have to resize and reupload them

Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to MySQL server on 'localhost' (10061)


Here are the websites:


http://graficka.net/coppermine/annie/pictures/ mine
http://graficka.net/coppermine/cheya my daughters
http://graficka.net/coppermine/riley my sons
http://graficka.net/coppermine/austin my babys

Help please! My husband says my only solution he can come up with is un installing MySQL and then reinstalling it, but if I do that I will lose everything. Please help me, I don't want to lose everything. I have put so much time into these accounts.

Annie
Title: Re: Coppermine critical error:
Post by: Daquota on January 22, 2008, 07:05:17 am
I am runninng my own server off my computer and today is the first problem mwe have had, it has never said this before. I am at a loss as is my husband. I have no idea how to fix this, the actual website is still running, so that means its MyS+QL or Coppermine causeing the friction but I don't know how to fix it.


http://graficka.net

Annie
Title: Re: Coppermine critical error:
Post by: François Keller on January 22, 2008, 07:47:11 am
check the connections datas in your include/config.inc.php file.
Title: Re: Coppermine critical error:
Post by: Joachim Müller on January 22, 2008, 08:53:07 am
My husband says my only solution he can come up with is un installing MySQL and then reinstalling it
That's nonsense. Uninstalling and re-installing mySQL will not fix this error.

I am runninng my own server off my computer
Self-hosting is not recommended, especially if you have no idea what you're actually doing.

Probably your error message is related to a password change for the mysql user account. As Frantz suggested, you'll need to reflect your changes in coppermine's database configuration file. Another possible reason is improper server setup (you said that you are self-hosted on your home PC, which is definitely not a bright idea) - make sure that the mysql service/daemon is up-and-running. We can't help you much though with questions on server setup and maintenance - simply because it's beyond the scope of this board. Additionally (as I already said twice): we don't recommend self-hosting. You would never try to build a car of your own and drive it at 100 mph, however you set up your PC to work as webserver without having any idea how to fix errors related to operating such a server. That's crazy.
Title: Re: Coppermine critical error:
Post by: Daquota on January 22, 2008, 06:24:28 pm
we have never had a problem til now and I have had this website with coppermine going on 3 years. He does know what he is doing we jess can't figure out the cause. He went to school for all this stuff. It's strange that it was working perfectly fine and then all the sudden stopped working.
Title: Re: Coppermine critical error:
Post by: Daquota on January 22, 2008, 06:28:54 pm
The configuration files are set up correctly. I am stumped.
Title: Re: Coppermine critical error:
Post by: Nibbler on January 22, 2008, 06:58:11 pm
Debug the problem then.

Make sure MySQL is running
Try connecting using the mysql command line client
Try connecting from a simple PHP script.