[Hejes-devel] [995] trunk/misc/dbblog/Makefile: target restore_db made more convenient by not using root mysql user

hejes-devel at nytud.hu hejes-devel at nytud.hu
Tue Oct 22 13:24:41 CEST 2013


Revision: 995
Author:   mihaltz
Date:     2013-10-22 13:24:41 +0200 (Tue, 22 Oct 2013)
Log Message:
-----------
trunk/misc/dbblog/Makefile: target restore_db made more convenient by not using root mysql user

Modified Paths:
--------------
    trunk/misc/dbblog/Makefile

Modified: trunk/misc/dbblog/Makefile
===================================================================
--- trunk/misc/dbblog/Makefile	2013-10-22 11:06:15 UTC (rev 994)
+++ trunk/misc/dbblog/Makefile	2013-10-22 11:24:41 UTC (rev 995)
@@ -20,6 +20,6 @@
 # Drop, re-create and import the database to this localhost's MySQL server from sql files in this directory (see dump_db)
 restore_db:
 	unzip -o dump_dbhelyesblog.sql.zip
-	mysql -u root -p < dbblog_create_database.sql
+	mysql -u dbblogadmin --password=d4bl0GGr < dbblog_create_database.sql
 	mysql -u dbblogadmin --password=d4bl0GGr dbhelyesblog < dump_dbhelyesblog.sql
 




More information about the Hejes-devel mailing list