Was: Zeugs. Thema: Alles mögliche.
MySQL Administrations-Einsmaleins
Auflisten von Schemas, Tabellen, Grants etc:
1 2 3 | SHOW schemas; SHOW TABLES; SHOW grants FOR user@localhost; |
Rechte hinzufuegen
1 | GRANT ALL privileges ON schema.* TO username@localhost IDENTIFIED BY 'passwort'; |
Rechte entfernen
1 2 3 4 | -- einzeln REVOKE ALL privileges ON schema.* FROM user@localhost; -- alle rechte DROP user user@localhost; |
| Print article | This entry was posted by Manuel on 05.03.2010 at 09:45, and is filed under Tips und Tricks. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |