Fulltext results:
- MySQL: Create Database @info:mysql:database
- ====== 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
- base-exec-superuser @z:relax:api:base
- ====== base-exec-superuser ====== Executes a command as a given user. Command is executed using ssh if ... exec'', ''su'' or ''sudo''. ===== Usage ===== base-exec-superuser USER COMMAND * ''USER'': A key ... '', ''su'' or ''sudo''. * Additionally, the [[base-exec-user#usage|properties of base-exec-user]]. * ''COMMAND'': A command to be executed. It is execut
- Travian Map Download Script @z:travian
- the map.sql from Travian and import it to the database. ===== 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 databa
- base-net-load-url @z:relax:api:base
- ====== base-net-load-url ====== Loads a file from an URL and outputs it to STDOUT. ===== Usage ===== base-net-load-url URL * ''URL'': the URL to load. ... ed by the URL. ===== Examples ===== <code bash> base-net-load-url "${service_url}" </code> <code bash> PASSWORD=$(base-net-load-url ${PASSWORD_URL}) </code>
- MySQL: Remove Database @info:mysql:database
- ====== MySQL: Remove Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}
- MySQL: Create User @info:mysql:user
- 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}}
- database @tag
- ====== database ====== ===== Pages ===== {{topic>database&nouser&tags}} ===== Bookmarks ===== {{rss>http://www.andunix.net/link/rss/all/database}}
- base-repo-get-service @z:relax:api:base
- ====== base-repo-get-service ====== Loads a service configuration from the repository and outputs it to STDOUT. ===== Usage ===== base-repo-get-service SERVICE * ''SERVICE'': a key ... ==== <code bash> # # get service config config=$(base-repo-get-service ${service}) if [ $? != 0 ]; then
- base-exec-user @z:relax:api:base
- ====== base-exec-user ====== Executes a command as a given user. Command is executed using ssh if the user is not on localhost. ===== Usage ===== base-exec-user USER COMMAND * ''USER'': A key of an... . It is executed either locally or remote using [[base-ssh-login]]. ===== Returns ===== Returns the ou
- MySQL: Remove User @info:mysql:user
- R '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
- base-ssh-login @z:relax:api:base
- ====== base-ssh-login ====== Logs into a remote host using ssh. This can be used to open a remote sesss... ususally it's used by other methods (especially [[base-exec-user]]) to remotely execute a command. ===== Usage ===== base-ssh-login SERVICE [ COMMAND ] * ''SERVICE'': a
- base-repo-get-value @z:relax:api:base
- ====== base-repo-get-value ====== Loads a service configuration from the repository and outputs a singl... r the given key) to STDOUT. ===== Usage ===== base-repo-get-value SERVICE KEY * ''SERVICE'': A ke... ervice must be a zone (have $ZONE set) if [ -z "$(base-repo-get-value ${service} ZONE)" ]; then echo "C
- base-ssh-umount @z:relax:api:base
- ====== base-ssh-umount ====== Unmounts a remote share which had been mounted using sshfs/fuse (sftp). ===== Usage ===== base-ssh-mount SERVICE * ''SERVICE'': A key of a se
- base-ssh-mount @z:relax:api:base
- ====== base-ssh-mount ====== Mounts a remote share using sshfs/fuse (sftp). ===== Usage ===== base-ssh-mount SERVICE * ''SERVICE'': A key of a se
- Drupal: Reverse Proxy @blog:2010
- 'SSL' : 'NONSSL'; if ($request_type != "SSL"){ $base_url = 'http://' . $_SERVER['SERVER_NAME']; // NO... kie_domain = $_SERVER['SERVER_NAME']; } else { $base_url = 'https://' . $_SERVER['HTTP_X_FORWARDED_HOS