You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pierre Germain edited this page Jan 22, 2021
·
8 revisions
Welcome to the MyDB wiki!
My DB Chuletas ;)
Truncar todas las tablas (borra datos, no estructura)
mysql -u user -h 127.0.0.1 -ppass -Nse 'show tables' db-name | while read table; do mysql -u user -h 127.0.0.1 -ppass -e "truncate table $table" db-name; done