Fulltext results:
- Travian Map Download Script @z:travian
- ===== config.inc ===== <code bash> # # database DB_USER="travian" # set this to your database user DB_PASS="travian" # set this to your database password DB_INST="travian" # set this to your database instan... /mysql/bin/mysql --default-character-set=utf8 -u${DB_USER} -p${DB_PASS} ${DB_INST}" MYSQLDUMP="/srv/my
- MySQL: Create User @info:mysql:user
- and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIE... _CONNECTIONS 0 ; CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> Simpler Alternative: <code sql> CREATE DATABASE IF NOT EXISTS `dbname` DEFAULT CHARACTER SET = 'utf8'; GRANT ALL ON
- MySQL: Backup @info:mysql:database
- # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Databases individually... } -p${PASS} mysql --execute='show databases') for db in ${DATABASES} do mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} > ${DB}_${DATE_YMD}.sql & bzip2 ${DB}_${DATE
- Oracle: SPFile and PFiles @info:oracle
- </code> It will create a PFile ''${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora''. ===== Import PFile ===... MMEDIATE; </code> If your PFile is located at ''/db/oracle/config/pfiles/initweb.ora'', the the secon... ine would be: <code sql> STARTUP NOMOUNT PFILE='/db/oracle/config/pfiles/initweb.ora' </code> ===== ... ameters ===== ==== Flash Recovery Area ==== === DB_RECOVERY_FILE_DEST_SIZE === The parameter ''DB_R
- MySQL: Create Database @info:mysql:database
- ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> ==== Create Database and Grant Rights... ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- Oracle: List Accounts with Objects @info:oracle
- them with: <code sql> SELECT DISTINCT OWNER FROM DBA_OBJECTS ORDER BY OWNER; </code> If you want to ... ER 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}
- dba @tag
- ====== dba ====== ===== Pages ===== {{topic>dba&nouser&tags}} ===== Bookmarks ===== {{rss>http://www.andunix.net/link/rss/all/dba}}
- MySQL: Remove User @info:mysql:user
- e User and Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
- Oracle @info:oracle
- = Bookmarks ===== * [[http://www.oracle.com/pls/db102/homepage|Oracle Database Online Documentation ... elease 2 (10.2)]] * [[http://www.oracle.com/pls/db112/homepage|Oracle Database Online Documentation
- MySQL: Revoke Permissions @info:mysql:permissions
- ssions ==== <code sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin dat
- MySQL: Grant Permissions @info:mysql:permissions
- issions ==== <code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin datab
- Android Backup @info:android
- b backup -apk -shared -all -f $(date '+%Y-%m-%d').db </code> If you are havong problems with the conn
- MySQL: Remove Database @info:mysql:database
- ve Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}
- Oracle: Recovery Manager @info:oracle
- L COMPLETED BEFORE 'SYSDATE -3'; EXIT __EOF__ </code> {{tag>admin database dba oracle rman sysadmin}}
- fstyp @info:solaris
- 9 sblkno 16 cblkno 24 iblkno 32 dblkno 760 sbsize 2048 cgsize 8192 cgoffset