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: 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
- 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_RECOVERY_FILE_DEST_SIZE'' specifies the size of the f
- 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> CR
- 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}}
- 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}}
- 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}}