• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » base
Trace: • link • WiFi Config QR-Code • Package Repositories • andunix.net • workaround • Virtual Network Visualization • /etc • Cleanup Packages • web • Android Apps

base
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.

Contains
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info:mysql
  • Any namespace
  • info:mysql:database (4)
  • 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: Backup
  • MySQL: Create Database
  • Database Administration
  • MySQL: Remove Database
  • andunix Infos

Fulltext results:

MySQL: Create Database @info:mysql:database
6 Hits, Last modified: 13 years ago
====== MySQL: Create Database ====== ==== Create Database ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> ==== Create Database and Grant Rights to a User ==== <code sql> CREATE
MySQL: Backup @info:mysql:database
5 Hits, Last modified: 13 years ago
====== MySQL: Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $... ER} -p${PASS} ${DB} </code> ===== Export all Databases individually ===== <code bash> # set or replace... $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') for db in ${DATABASES} do mysqldump --add-
MySQL: Create User @info:mysql:user
4 Hits, Last modified: 10 years ago
BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''{user}'' == ''{db}'' <code ... ER_HOUR 0 MAX_USER_CONNECTIONS 0 ; CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{... ode> Simpler Alternative: <code sql> CREATE DATABASE IF NOT EXISTS `dbname` DEFAULT CHARACTER SET = 'u... ALL ON `dbname`.* TO 'dbuser'@'dbhost' IDENTIFIED BY 'dbpass'; </code> {{tag>admin database mysql sql}}
MySQL: Remove Database @info:mysql:database
4 Hits, Last modified: 13 years ago
====== MySQL: Remove Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}
MySQL: Remove User @info:mysql:user
3 Hits, Last modified: 13 years ago
R '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
Database Administration @info:mysql:database
1 Hits, Last modified: 13 years ago
====== Database Administration ====== {{indexmenu>.}}
MySQL: Revoke Permissions @info:mysql:permissions
1 Hits, Last modified: 13 years ago
de sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Grant Permissions @info:mysql:permissions
1 Hits, Last modified: 13 years ago
<code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: View Permissions @info:mysql:permissions
1 Hits, Last modified: 13 years ago
==== <code sql> SHOW PRIVILEGES; SHOW GRANTS FOR '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Change Password @info:mysql:user
1 Hits, Last modified: 12 years ago
RD('{passwd}') WHERE User='{user}'; FLUSH PRIVILEGES; </code> {{tag>admin database mysql password 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