HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


cannot connect to mysql

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#25906 (In Topic #6052)
Avatar

Fan in action

can any one please tell me how to fix this error.  My host and domain is out of godaddy.com and they cant help me at all with this problem.  I'm not skilled in the computer area.  I'm just starting to learn so please be very detailed on how to complete the installation of ocportal.  THANK YOU.
Back to the top
 
Posted
Rating:
#25910
Avatar

Community saint

At what stage of the install is it stopping?
If it just refuses to connect to your database, and never did, check database name and username.
Sometimes, depending on your host, you have to add something before these.
Can be somename_mydatabase and somename_myusername (i.e. bluehost) or just about anything, in fact.

Check on the mail you received after creating your account at godaddy, and check how the database name appears on Cpanel.

And don't worry, it will install in the end ;)

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#25928
Avatar

Community saint

Go daddy does not have cpanel but they do have a control panel and you could go in there and make sure you have the database made.
Also with godaddy you can not use localhost as the server, what you will need to put in in the control panel.
Also godaddy only has one name on the database so it will not be someone_something like hosts that use cpanel, How ever the name of the datbase should still be there and it will be exactly what you made it.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#25992
Joe
Avatar

Honoured member

Yes, if the Database information was not correct, you would receive an error stating ocPortal cannot connect to the database, which is saying "Ok, we can access the mySQL server, but this database is not correct, or doesn't exist." So in other words, your database information is correct, you most likely did not specify the correct mySQL server host. Some servers do not allow 'localhost' to be inputted. If you don't mind me asking, who is your host?

Back to the top
 
Posted
Rating:
#26020
Avatar

Fan in action

my host is also godaddy.  and i paid ocportal to install there software on my computer.  Thanks for all the help.
Back to the top
 
Posted
Rating:
#26151
Avatar

Community saint

Sorry too late…

I was gonna tell you what the problem is cause it is a very easy fix with godaddy. They don't host the database on the same server as the domain.

Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: