LCKB
Tables - DB - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep2 Support (https://lckb.dev/forum/forumdisplay.php?fid=166)
+------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=144)
+------ Thread: Tables - DB (/showthread.php?tid=2696)



- kixtzz - 11-19-2013

How can i reset(truncate) all tables from all db without affecting the game ?




- Nymphetamine - 11-19-2013


O.o u want to clean a database without affecting the game?

Its like if u ask if u can stop ur heart without affecting your life




- filix_93 - 11-19-2013

maybe he mean the users tables , truncate them to reset the game as new without broke it xD




- Nymphetamine - 11-19-2013

He said "all tables"




- kixtzz - 11-19-2013

less newproject_db 




- Canton - 11-19-2013


with Navicat... Dump SQL-File -> Structure Only...

 

alternative..

mysqldump -d -h localhost -u root -pmypassword newproject_db > newproject_db.sql




- CDWriter - 11-25-2013


this would be a bad idea @2 .... i would go to google search for "ALTER TABLE tablename AUTO_INCREMENT = value;" our just use this.. reset all auto_increments back to 1

 

 

 

 

 

ALTER TABLE tablename AUTO_INCREMENT = 1;