• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net ยป de
Trace:

de
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Search

You can find the results of your search below.

Ends with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info:mysql
  • Any namespace
  • info:mysql:database (3)
  • info:mysql:permissions (3)
  • info:mysql:user (3)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • MySQL
  • andunix Infos
  • Database Administration
  • andunix Infos
  • Permission Administration
  • andunix Infos
  • User Administration
  • andunix Infos

Fulltext results:

MySQL: Create User @info:mysql:user
6 Hits, Last modified: 10 years ago
QL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{pas... LL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> Simpler Alternative: <code sql> CREATE DATABAS
MySQL: Backup @info:mysql:database
4 Hits, Last modified: 13 years ago
Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $USER, $PASS... mp --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Databases individually ===== <code bash> # set or replace the variables $USER and $P... sleep 10 # optional done wait # for child processes to end </code> {{tag>mysql admin backup export}}
MySQL: Remove User @info:mysql:user
4 Hits, Last modified: 13 years ago
QL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
MySQL: Change Password @info:mysql:user
4 Hits, Last modified: 12 years ago
Replace ''{user}'' with the name of the user. <code sql> GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY '{passwd}'; FLUSH PRIVILEGES; </code> Or you can alternatively use the following: <code sql> UPDATE mysql.user SET Password=PASSWORD('{passwd}') WHERE User='{user}'; FLUSH PRIVILEGES; </code> {{tag>admin database mysql password sql}}
MySQL: Create Database @info:mysql:database
4 Hits, Last modified: 13 years ago
te Database ====== ==== Create Database ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> ==== Create Database and Grant Rights to a User ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Revoke Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
rmissions ====== ==== Revoke Permissions ==== <code sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Grant Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
ermissions ====== ==== Grant Permissions ==== <code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: View Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
Permissions ====== ==== View Permissions ==== <code sql> SHOW PRIVILEGES; SHOW GRANTS FOR '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Remove Database @info:mysql:database
2 Hits, Last modified: 13 years ago
ve Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki