From a950ed8cabfeca55c909f02412b1788bd386dcff Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 15 Aug 2010 01:45:38 -0400 Subject: Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now. --- src/bin/mydbgen | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bin') diff --git a/src/bin/mydbgen b/src/bin/mydbgen index 69e1b8812..f5663ab61 100755 --- a/src/bin/mydbgen +++ b/src/bin/mydbgen @@ -5,7 +5,7 @@ DBSQL="tables.sql" # Schema Version -SVER="1" +SVER="2" # Local Version, defaults to 0 LVER="0" @@ -132,6 +132,9 @@ rm -f $TFILE if test "x$FAILED" = "x" ; then # Try to find out more about this installation SQLPORT="$(mysql_config --port 2> /dev/null)" + if test "$SQLPORT" = "0" ; then + SQLPORT=3306 + fi echo "" echo "Your MySQL setup is complete and your Anope schema is up to date. Make" echo "sure you configure MySQL on your services.conf file prior to launching" -- cgit