Error establishing a database connection

Status
Not open for further replies.

nadish

New Member
Messages
23
Reaction score
0
Points
1
Respected Sir/ Ma'am!!!

I'm getting Error establishing a database connection while trying to access my website. and there're no database visible in my database section, Kindly resolve this issue.

I shall be thankful to you.

Thanx n reagards
 

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
Staff has been made aware of problem. Should be resolved soon.
 

clmirand

New Member
Messages
5
Reaction score
0
Points
0
Hi all,
Can someone help me on how to set up my database in xhosting?
I have an existing database on my laptop.
I also created a database in cpanel. However I don't know if it is possible for me to upload my previous one and populate the one I created in cpanel.
Hope to you get an answer from here.

Thank you.
 

dlukin

New Member
Messages
427
Reaction score
25
Points
0
Your current database should have some sort of "export" function. Use it to export the tables that make up the database in SQL format (what it does is create SQL instructions to create the tables and then instructions to input the data).
Then go to cPanel -> PHPMyAdmin, go to your new database and you should see an "Import" link. Click on that and use the page that appears to import the SQL dump from the old database.

Please note: If you export the database and include instructions to create the database (instead of just the tables), you will get an error. Make sure you only export the table structure/data.
 

clmirand

New Member
Messages
5
Reaction score
0
Points
0
Thanks for the immediate response.
I think my problem is that I can't PHPMyAdmin after I go to cpanel.
It only Please be patient, you will be redirected in a moment.... :(
 
Status
Not open for further replies.
Top