• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » sql
Trace: • Make your Mac feel at Home • Travian Village Planner - Tribe & Village Name • MacPorts • Travian Info Tool • Package Repositories • ISO 3166-2:DE • ISO 3166-1 alpha-2

sql
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
  • Any namespace
  • info:mysql (10)
  • info:oracle (5)
  • info:prog (1)
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
  • Oracle: SQLplus Scripting
  • MySQL: Backup
  • MySQL: Create Database
  • Database Administration
  • MySQL: Remove Database
  • andunix Infos
  • MySQL: Grant Permissions
  • Permission Administration
  • MySQL: Revoke Permissions
  • andunix Infos
  • MySQL: View Permissions
  • MySQL: Create User
  • User Administration
  • MySQL: Change Password
  • MySQL: Remove User
  • andunix Infos

Fulltext results:

MySQL: Backup @info:mysql:database
8 Hits, Last modified: 13 years ago
====== MySQL: Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </... $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') for db in ${DATABASES} do mysqldump
MySQL: Create User @info:mysql:user
6 Hits, Last modified: 10 years ago
====== MySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}... ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}... {user}'@'%'; </code> Simpler Alternative: <code sql> CREATE DATABASE IF NOT EXISTS `dbname` DEFAULT C
MySQL: Change Password @info:mysql:user
6 Hits, Last modified: 12 years ago
====== MySQL: Change Password ====== * Replace ''{passwd}'' with the password of the user. * Replace ''{user}'' with the name of the user. <code sql> GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY... r you can alternatively use the following: <code sql> UPDATE mysql.user SET Password=PASSWORD('{passwd}') WHERE User='{user}'; FLUSH PRIVILEGES; </code> {
MySQL: Remove User @info:mysql:user
5 Hits, Last modified: 13 years ago
====== MySQL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> ==== Remove Use... Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
MySQL: Create Database @info:mysql:database
5 Hits, Last modified: 13 years ago
====== MySQL: Create Database ====== ==== Create Database ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> =... e 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}}
Oracle: SPFile and PFiles @info:oracle
5 Hits, Last modified: 13 years ago
e SPFiles to a PFile, just enter the following in SQLplus: <code sql> CREATE PFILE FROM SPFILE; </code> It will create a PFile ''${ORACLE_HOME}/dbs/init${... to the PFile instead of ${PATH_TO_PFILE}. <code sql> SHUTDOWN IMMEDIATE; STARTUP NOMOUNT PFILE='${PAT... itweb.ora'', the the second line would be: <code sql> STARTUP NOMOUNT PFILE='/db/oracle/config/pfiles/
Oracle: List Accounts with Objects @info:oracle
4 Hits, Last modified: 13 years ago
ts (like tables), you can query them with: <code sql> SELECT DISTINCT OWNER FROM DBA_OBJECTS ORDER BY ... ist all accounts, you can query them with: <code sql> SELECT USERNAME FROM ALL_USERS ORDER BY USERNAME; </code> Or, if you only want the DBAs: <code sql> SELECT USERNAME FROM DBA_USERS ORDER BY USERNAME; </code> {{tag>admin oracle sqlplus}}
MySQL: Revoke Permissions @info:mysql:permissions
4 Hits, Last modified: 13 years ago
====== MySQL: Revoke Permissions ====== ==== Revoke Permissions ==== <code sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: Grant Permissions @info:mysql:permissions
4 Hits, Last modified: 13 years ago
====== MySQL: Grant Permissions ====== ==== Grant Permissions ==== <code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
MySQL: View Permissions @info:mysql:permissions
4 Hits, Last modified: 13 years ago
====== MySQL: View Permissions ====== ==== View Permissions ==== <code sql> SHOW PRIVILEGES; SHOW GRANTS FOR '{user}'@'%'; </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}}
Oracle: SQLplus Scripting @info:oracle
4 Hits, Last modified: 13 years ago
====== Oracle: SQLplus Scripting ====== To show only data in SQLplus and no header or other stuff, enter the following: <code sql> SET NEWPAGE 0 SET SPACE 0 SET LINESIZE 80 SET PA... SET VERIFY OFF SET HEADING OFF SET MARKUP HTML OFF SPOOL OFF </code> {{tag>oracle scripting sqlplus}}
Oracle: Resize Instance @info:oracle
3 Hits, Last modified: 13 years ago
, change the [[spfile_and_pfiles|SPFile]]: <code sql> ALTER SYSTEM SET pga_aggregate_target = 2G SCOPE... (optionally) export the SPFile to a PFile: <code sql> CREATE PFILE FROM SPFILE; </code> Finally, reboot the instance to activate the change: <code sql> SHUTDOWN IMMEDIATE; STARTUP; </code> {{tag>admi
Oracle: Recovery Manager @info:oracle
2 Hits, Last modified: 13 years ago
ll archive logs but keep the last 45 days: <code sql> DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE ... rompting, e.g. via cron, after backup run: <code sql> DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE
Firefox Extensions @info:prog:firefox
2 Hits, Last modified: 12 years ago
e. | |[[https://addons.mozilla.org/firefox/addon/sqlite-manager/|SQLite Manager]] | | |[[https://addons.mozilla.org/firefox/addon/web-developer/|Web Deve
MySQL @info:mysql
1 Hits, Last modified: 13 years ago

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