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
Next revision
Previous revision
ubuntuvhost810:start [2009/02/05 14:06] svschwartzubuntuvhost810:start [2009/02/20 13:28] (current) svschwartz
Line 132: Line 132:
 <code> <code>
 /etc/init.d/apache2 reload /etc/init.d/apache2 reload
 +</code>
 +
 +
 +===== MySQL database =====
 +
 +<code>
 +WEBUSER=drivesource
 +DBPASS=secret
 +export WEBUSER DBPASS
 +cat <<EOFSCRIPT
 +create database ${WEBUSER}_main;
 +GRANT ALL PRIVILEGES ON ${WEBUSER}_main.* TO '${WEBUSER}'@'localhost' IDENTIFIED BY '${DBPASS}';
 +commit;
 +exit;
 +EOFSCRIPT
 +mysql -u root -p
 </code> </code>
ubuntuvhost810/start.1233842780.txt.gz · Last modified: (external edit)