Subversion Repositories ALCASAR

Rev

Rev 3308 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3308 Rev 3309
Line 57... Line 57...
57
exec_query "DROP USER IF EXISTS '$REPL_DB_USER'@'%'" || exit
57
exec_query "DROP USER IF EXISTS '$REPL_DB_USER'@'%'" || exit
58
 
58
 
59
# Disable binary logging
59
# Disable binary logging
60
echo "Disabling binary logging..."
60
echo "Disabling binary logging..."
61
rm -f "$DB_REPL_CONF"
61
rm -f "$DB_REPL_CONF"
62
exec_query "RESET MASTER" || exit
-
 
63
 
62
 
64
# Unlisten on localhost
63
# Unlisten on localhost
65
sed -i "s?.*skip-networking.*?skip-networking?" "$DB_CONF"
64
sed -i "s?.*skip-networking.*?skip-networking?" "$DB_CONF"
66
sed -i "s?^bind-address=.*?#bind-address=127.0.0.1?" "$DB_CONF"
65
sed -i "s?^bind-address=.*?#bind-address=127.0.0.1?" "$DB_CONF"
67
 
66