question
#1

question
in mysql how to delete all my server accounts exccept one named Xx3
as my Mysql

MyDB » accounts

how please
Reply
#2

I am giving the actual SQL Query.

Код:
DELETE FROM `yourdbname`.`yourtablename` WHERE NOT `yourtablename`.`fieldname` = "Xx3";
Edit this query according to your database details then you can execute it directly on phpmyadmin or you can make a command ingame to do this or something else u can think of.
Reply
#3

An example:
pawn Код:
DELETE FROM `users` WHERE `username` != 'Xx3'
Reply
#4

thanks but i type those cmd after
# mysql -p Mysqluser
password:
# here?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)