• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[MySQL] Query Help!

JoSePh15_

Well-Known Member
Joined
Jan 28, 2010
Messages
1,766
Reaction score
59
I want a mysql query that removes all the addons that the player have.. Thanks :D
 
another question... i imported that while testing my website restarter..
SQL:
CREATE TABLE IF NOT EXISTS `z_shut` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `shutdown` int(11) NOT NULL DEFAULT '1',
  `long` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
 
 
INSERT INTO `z_shut` (`id`, `shutdown`, `long`) VALUES
(1, 0, 1);
now i wanna uninstall it, so i do that? :D
SQL:
DELETE TABLE `z_shut`;

Without changing the mysql database!
 
Last edited:
to empty table:
SQL:
TRUNCATE TABLE `z_shut`;
to delete table from db:
SQL:
DROP TABLE `z_shut`;
 
Last edited:
Back
Top