Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Setting Global Default Database in my.cnf (no replies)

$
0
0
I am running MySQL ver. 5.0.77 on Centos 5.5 on an HP server(s). Have setup statement based replication for use with a fail-over freeRadius installation. I would like to have MySQL globally default to the "radius" database so that any changes made at the command line will be replicated; I have attempted this by adding "database = radius" to the [clients] section of my.cnf. While this does indeed set the database as I wanted, it also gives a "Timeout error occurred trying to start MySQL Daemon." message when starting/restarting mysqld (but mysqld does actually start). Increased the default timeout setting in /etc/rc/d/init.d/mysqld to 60, didn't help. Is there a better way to set the database for all users?

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>