Difference between revisions of "SMEOnffLine: Setup MySQL untuk Semua CMS"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  (New page: Untuk memudahkan pembuatan Distro ada baiknya setup MySQL untuk semua CMS di satukan   # mysql -u root -p  Enter password: <123456>   create database wordpress;  grant INSERT,SELEC...)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 32: | Line 32: | ||
==Pranala Menarik==  | ==Pranala Menarik==  | ||
| − | * [[SMEOnffLine: Server Berbasis Sabily   | + | * [[SMEOnffLine: Server Berbasis Sabily]]  | 
| − | * [[SMEOnffLine: Server Berbasis Ubuntu   | + | * [[SMEOnffLine: Server Berbasis Ubuntu]]  | 
Revision as of 13:14, 12 November 2009
Untuk memudahkan pembuatan Distro ada baiknya setup MySQL untuk semua CMS di satukan
# mysql -u root -p Enter password: <123456>
create database wordpress; grant INSERT,SELECT on root.* to wordpress@localhost; grant ALL on wordpress.* to wordpress@localhost identified by 'wordpress'; grant ALL on wordpress.* to wordpress identified by 'wordpress'; create database mediawiki; grant INSERT,SELECT on root.* to mediawiki@localhost; grant ALL on mediawiki.* to mediawiki@localhost identified by 'mediawiki'; grant ALL on mediawiki.* to mediawiki identified by 'mediawiki'; create database dms; grant INSERT,SELECT on root.* to dms@localhost; grant ALL on dms.* to 'dms'@'localhost' identified by 'dms'; grant ALL on dms.* to dms@localhost identified by 'dms'; grant ALL on dms.* to dms identified by 'dms'; exit
Setup Tabel
Setup tabel dilakukan melalui shell dan hanya dapat dilakukan jika database sudah dibuat dan [[source code}] sudah di copy ke folder di bawah /var/www
mysql -u dms -pdms dms < /var/www/knowledgeTree/sql/mysql/install/structure.sql mysql -u dms -pdms dms < /var/www/knowledgeTree/sql/mysql/install/data.sql mysql -u root -p dms < /var/www/knowledgeTree/sql/mysql/install/user.sql