bOinkz Posted December 6, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 11/20/14 Last Seen: December 20, 2015 Share Posted December 6, 2014 (edited) hi guys... please help me... i purchased wanhosting while ago and i accidentally deleted the login in my phpmyadmin... i want to execute a new main.sql again but i don't know how to do it.... what commands i use. Edited December 6, 2014 by bOinkz Quote Link to comment Share on other sites More sharing options...
Conflicts Posted December 6, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 317 Reputation: 63 Joined: 11/13/11 Last Seen: March 23 Share Posted December 6, 2014 You can use this command: mysql -u root -p -D YOURDATABASE < /path/to/rAthena/sql-files/main.sql Quote Link to comment Share on other sites More sharing options...
bOinkz Posted December 6, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 11/20/14 Last Seen: December 20, 2015 Author Share Posted December 6, 2014 (edited) You can use this command: mysql -u root -p -D YOURDATABASE < /path/to/rAthena/sql-files/main.sql You can use this command: mysql -u root -p -D YOURDATABASE < /path/to/rAthena/sql-files/main.sql can you help me please? i tried but it didnt work Edited December 6, 2014 by bOinkz Quote Link to comment Share on other sites More sharing options...
Conflicts Posted December 6, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 317 Reputation: 63 Joined: 11/13/11 Last Seen: March 23 Share Posted December 6, 2014 At least let us know how it didn't work. What error(s) did it give out (if any)? Or any other useful information that would help us help you resolve the issue. Alternatively, you can do; cd /rAthena/sql-files mysql -u root -p -D YOURDATABASE < main.sql Then type your root MySQL password when prompted to. Quote Link to comment Share on other sites More sharing options...
bOinkz Posted December 6, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 11/20/14 Last Seen: December 20, 2015 Author Share Posted December 6, 2014 (edited) Alternatively, you can do; cd /rAthena/sql-files mysql -u root -p -D YOURDATABASE < main.sql Then type your root MySQL password when prompted to. ill show you some screenshots At least let us know how it didn't work. What error(s) did it give out (if any)? Or any other useful information that would help us help you resolve the issue. Alternatively, you can do; cd /rAthena/sql-files mysql -u root -p -D YOURDATABASE < main.sql Then type your root MySQL password when prompted to. sir if youre not bussy can we talk in skype please? i really need some help heres my screenie Edited December 6, 2014 by bOinkz Quote Link to comment Share on other sites More sharing options...
Conflicts Posted December 6, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 317 Reputation: 63 Joined: 11/13/11 Last Seen: March 23 Share Posted December 6, 2014 You don't have to log on to mysql before issuing the command. Does the database ragnarok exist in your MySQL installation? You can use the command SHOW DATABASES to confirm. If it doesn't, then omit the -D part, making the command. (Execute the commands on a new Terminal session) cd /trunk/sql-files mysql - u root -p ragnarok < main.sql Quote Link to comment Share on other sites More sharing options...
bOinkz Posted December 6, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 11/20/14 Last Seen: December 20, 2015 Author Share Posted December 6, 2014 You don't have to log on to mysql before issuing the command. Does the database ragnarok exist in your MySQL installation? You can use the command SHOW DATABASES to confirm. If it doesn't, then omit the -D part, making the command. (Execute the commands on a new Terminal session) cd /trunk/sql-files mysql - u root -p ragnarok < main.sql cd: /trunk/sql-files: no suck file or directory Quote Link to comment Share on other sites More sharing options...
Conflicts Posted December 6, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 317 Reputation: 63 Joined: 11/13/11 Last Seen: March 23 Share Posted December 6, 2014 Only you would know the correct directly of your files. I'm guessing it's /home/YOURUSERNAME/trunk/sql-files It is beyond our scope, and really, you should ask Wanhosting for support. It is part of their job, isn't it?\ Ah, even worse, you're using VNC. So it must be /home/YOURUSERNAME/Desktop/trunk/sql-files Quote Link to comment Share on other sites More sharing options...
Question
bOinkz
hi guys... please help me... i purchased wanhosting while ago and i accidentally deleted the login in my phpmyadmin...
i want to execute a new main.sql again but i don't know how to do it....
what commands i use.
Edited by bOinkzLink to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.