add tips : give right to use new db
This commit is contained in:
parent
6b00e130f2
commit
81b9dd579d
|
@ -350,6 +350,8 @@ BASE_FROM=db1; BASE_TO=db2
|
|||
for table in $(mysql -e "use $BASE_FROM; show tables\G;" | grep -v '^\*\*\*' | cut -d':' -f2 | sed 's/^ //'); do echo $table; mysql -e "RENAME TABLE ${BASE_FROM}.${table} TO ${BASE_TO}.${table};"; done
|
||||
~~~
|
||||
|
||||
- Appliquer les bons droits à la bdd
|
||||
|
||||
#### Table
|
||||
|
||||
Renommer un champ :
|
||||
|
|
Loading…
Reference in New Issue