[Hejes-devel] [1010] dbdict/Makefile: no more root pwd
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Mon Nov 4 21:04:42 CET 2013
Revision: 1010
Author: mihaltz
Date: 2013-11-04 21:04:42 +0100 (Mon, 04 Nov 2013)
Log Message:
-----------
dbdict/Makefile: no more root pwd
Modified Paths:
--------------
trunk/misc/dbdict/Makefile
Modified: trunk/misc/dbdict/Makefile
===================================================================
--- trunk/misc/dbdict/Makefile 2013-11-04 20:00:21 UTC (rev 1009)
+++ trunk/misc/dbdict/Makefile 2013-11-04 20:04:42 UTC (rev 1010)
@@ -23,10 +23,13 @@
# 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_dbdict.sql.zip
- mysql -u root -p < create_dbdict.sql
+# mysql -u root -p < create_dbdict.sql
+ mysql -u dbdicter --password=dbdicter123 < create_dbdict.sql
# mysql -u root -p < create_dbdict_user.sql
- mysql -u root -p dbdict < dump_dbdict.sql
+# mysql -u root -p dbdict < dump_dbdict.sql
+ mysql -u dbdicter --password=dbdicter123 dbdict < dump_dbdict.sql
+
# Test if DB was set up correctly
test_db:
echo "SELECT * FROM sugg_types WHERE actual='gólya';" | mysql -u dbdicter --password=dbdicter123 dbdict
More information about the Hejes-devel
mailing list