Jump to content
  • 0

About my VPS (database) phpMyAdmin


Gidz Cross

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

Since my provider doesnt want to response any of my message i decided to ask help here. Im not even sure if im in the correct section. Well this is about adding sql query to add tables. On my test server i can do it with no problem because i know how to use mysql workbench. But this is different. I might messed up my database. Because my server is already live. I dont wanna risk it. Can anyone help me?

Well this is my problem.

I want to add this line.

 

Spoiler

create table pvpladder (
	char_id int(11) not null default '0' primary key,
	name varchar(30) not null default '',
	streaks smallint(6) unsigned not null default '0',
	kills smallint(6) unsigned not null default '0',
	deaths smallint(6) unsigned not null default '0',
	streaktime datetime
) engine = myisam;

create table ownladder (
	guild_id int(11) not null default '0' primary key,
	name varchar(24) not null default '',
	currentown smallint(6) unsigned not null default '0',
	highestown smallint(6) unsigned not null default '0',
	owntime datetime
) engine = myisam; 

 

like i said using mysql workbench i can double lick the rathena schema and add a query with no problem. 

This is the screenshot of my vps's phpMyAdmin (I dont know what to call it)
 

sql.jpg

 

Can anybody guide me? The one i encircled is the schema required to use the script to make tables. Somebody? I thankyou bigtime in advance!

Edited by gidzdlcrz
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

click ragnarok goto SQL TAB there will be a input box you will put the sql code inside and execute but first i highly recommend that you test this offline in your pc just to make sure that these tables wont affect anything.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

1 minute ago, Ice Bear said:

click ragnarok goto SQL TAB there will be a input box you will put the sql code inside and execute but first i highly recommend that you test this offline in your pc just to make sure that these tables wont affect anything.

Thank you @Ice Bear for the reply. I already tried this to my test server offline. Can you please guide me more? I will try to do what you told me.

So should i click the one i encirled?

sql2.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

no the SQL one

the one after Structure Tab

aaa.PNG

image.thumb.png.d01624b9a1ce3d2d1ac621c43e18c0fb.png

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1528
  • Reputation:   233
  • Joined:  08/03/12
  • Last Seen:  

Click SQL and execute your .sql-files there.

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

@Ice Bear

So it should be like this?

sql2.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

On 12/22/2019 at 8:59 PM, gidzdlcrz said:

@Ice Bear

So it should be like this?

yes and click GO Button

also if you encounter .sql files upload you can refer to what @Amir Azman saying you can import if the file is in .sql format. that is located in the import tab , export that should be you know ?

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

Arrrr!! It worked! I thank you guys! Upvote to each and every who reply on this matter. ♥

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...