User Tools

Site Tools


ubuntuvhost810:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntuvhost810:start [2009/02/20 13:20] svschwartzubuntuvhost810:start [2009/02/20 13:28] (current) svschwartz
Line 141: Line 141:
 DBPASS=secret DBPASS=secret
 export WEBUSER DBPASS export WEBUSER DBPASS
-cat <<EOFSCRIPT > mysql -u root -p+cat <<EOFSCRIPT
 create database ${WEBUSER}_main; create database ${WEBUSER}_main;
 GRANT ALL PRIVILEGES ON ${WEBUSER}_main.* TO '${WEBUSER}'@'localhost' IDENTIFIED BY '${DBPASS}'; GRANT ALL PRIVILEGES ON ${WEBUSER}_main.* TO '${WEBUSER}'@'localhost' IDENTIFIED BY '${DBPASS}';
 +commit;
 +exit;
 EOFSCRIPT EOFSCRIPT
 +mysql -u root -p
 </code> </code>
ubuntuvhost810/start.1235136035.txt.gz · Last modified: (external edit)