Jump to content
  • 0

help... phpmyadmin


bOinkz

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/20/14
  • Last Seen:  

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 bOinkz
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

You can use this command:

mysql -u root -p -D YOURDATABASE < /path/to/rAthena/sql-files/main.sql

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/20/14
  • Last Seen:  

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 by bOinkz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/20/14
  • Last Seen:  

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 

 

we_zps0167e1c8.jpg

Edited by bOinkz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/20/14
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...