Is there any web developer...i hve a problem, when i import my database from localhost to web server it gives an error.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any web developer...i hve a problem, when i import my database from localhost to web server it gives an error..

is there any web developer plzz plzz help me its very important for mee plzzzz...

13th Apr 2017, 5:46 PM
Anmol Kumar
Anmol Kumar - avatar
16 Answers
+ 8
In Web servers, Database are created seperately and database users are created seperately. I can't say about 000webhost, but in my paid web hosting, I have to create a mysql database user and give all privilidges for a database created. Then I import all the tables of my localhost database to my web server database. I hope it helps you
13th Apr 2017, 5:58 PM
Sachin Artani
Sachin Artani - avatar
+ 7
elaborate the problem
13th Apr 2017, 5:50 PM
Sachin Artani
Sachin Artani - avatar
+ 7
I'm from M.P.
13th Apr 2017, 6:03 PM
Sachin Artani
Sachin Artani - avatar
+ 7
Sorry, but I haven't face this problem. I started work with databases when I brought paid hosting. Why don't you try with hostinger.in
13th Apr 2017, 6:05 PM
Sachin Artani
Sachin Artani - avatar
+ 7
@Ianiel, I'm sorry, please try what I said earlier or try to change host to hostinger.in, they are better than 000webhost.
13th Apr 2017, 6:12 PM
Sachin Artani
Sachin Artani - avatar
+ 4
@sachin is right here, you need to create the database user and grant permissions, then create an empty database with the exact name of the old one you backed up. then you can restore the .sql file to the newly created database
13th Apr 2017, 6:07 PM
Rich Korba
Rich Korba - avatar
+ 1
when I import my database from local server that is from myphpadmin to online server(000webhost database) it gives error that is 'user acces denied'
13th Apr 2017, 5:52 PM
Anmol Kumar
Anmol Kumar - avatar
+ 1
yes i created database separately in web server of 000host but when m import database then it says user acces denied..
13th Apr 2017, 6:01 PM
Anmol Kumar
Anmol Kumar - avatar
0
plzzz help.me
13th Apr 2017, 5:52 PM
Anmol Kumar
Anmol Kumar - avatar
0
where r u from...???
13th Apr 2017, 6:02 PM
Anmol Kumar
Anmol Kumar - avatar
0
m from Chandigarh Punjab
13th Apr 2017, 6:02 PM
Anmol Kumar
Anmol Kumar - avatar
0
plzzz plzz help me
13th Apr 2017, 6:02 PM
Anmol Kumar
Anmol Kumar - avatar
0
will u plzz give me your WhatsApp number then I will send you the photo of my error..
13th Apr 2017, 6:04 PM
Anmol Kumar
Anmol Kumar - avatar
0
or m snd u my WhatsApp number that is 9915837937
13th Apr 2017, 6:05 PM
Anmol Kumar
Anmol Kumar - avatar
0
plzz come on whatsapp m snd u the error photo..
13th Apr 2017, 6:06 PM
Anmol Kumar
Anmol Kumar - avatar
0
okk😔
13th Apr 2017, 6:14 PM
Anmol Kumar
Anmol Kumar - avatar