Changes

Jump to navigation Jump to search
73 bytes added ,  09:48, 27 April 2021
no edit summary
Line 4: Line 4:     
*MySQL website: http://www.mysql.com <br />
 
*MySQL website: http://www.mysql.com <br />
*MySQL 4.1 manual: http://dev.mysql.com/doc/refman/4.1/en/
+
*MySQL 4.1 manual: http://dev.mysql.com/doc/refman/4.1/en/<br />
 +
*MariaDB documentation: https://mariadb.org/documentation/
    
==General==
 
==General==
Line 92: Line 93:     
  <nowiki>## In the command below, \ escapes a linebreak.
 
  <nowiki>## In the command below, \ escapes a linebreak.
## Either include them, or place the entire command on one line
+
  ## Either include them, or place the entire command on one line
mysql -e "\
+
  mysql -e "\
create database MyDB; \
+
  create database MyDB; \
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER \
+
  GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER \
ON *.* \
+
  ON *.* \
TO 'MyUser'@'192.168.xx.%' \
+
  TO 'MyUser'@'192.168.xx.%' \
IDENTIFIED BY 'MyPW'; \
+
  IDENTIFIED BY 'MyPW'; \
FLUSH PRIVILEGES;"</nowiki>
+
  FLUSH PRIVILEGES;"</nowiki>
    
===Security Implications of allowing remote mysql login===
 
===Security Implications of allowing remote mysql login===

Navigation menu