Data Tables
Moderator: Team Members
-
sepultaris
- Posts: 5
- Joined: Tue Mar 18, 2008 7:55 pm
Data Tables
Sorry i have a newb question here. How do i edit a data table? IE: Change the MOTD on my server. or deleting an entry in a data table. cause i have about 8 different naggy's in my npc table just from playing around with the variables. could anyone type out the syntax or point me to a good tut. on how to do so? T.I.A.
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
-
sepultaris
- Posts: 5
- Joined: Tue Mar 18, 2008 7:55 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Change the data for the "motd" variable in the `variables` table. If you are using a GUI, you should see this clearly.
Or you can run this SQL command:
Replace "My New MOTD" with your text... no apostrophes.
Or you can run this SQL command:
Code: Select all
UPDATE `variables` set variable_value = 'My New MOTD' where variable_name = 'motd';-
sepultaris
- Posts: 5
- Joined: Tue Mar 18, 2008 7:55 pm
Thanks so much for your helpJohn Adams wrote:Change the data for the "motd" variable in the `variables` table. If you are using a GUI, you should see this clearly.
Or you can run this SQL command:Replace "My New MOTD" with your text... no apostrophes.Code: Select all
UPDATE `variables` set variable_value = 'My New MOTD' where variable_name = 'motd';
Who is online
Users browsing this forum: No registered users and 0 guests


