I have just spent a couple of nights reviving a Java <> MySql program, that
ran fine on RH 6.2
After a clean RH 7.0 install the old java stand alone (no-gui.jar) program
could not connect to the old data base
mm.mysql driver. - error message was internally generated by mm.mysql.
Quote:>> "Server configuration denies access to data source".
Symptoms, MySql Severs is up & I can connect with MySql etc. from the Local
net and from the machine running MySql.
Java application can connect from local net, but not from the local machine! I
suspect that mm.mysql was trying to find the local
socket and could not. I have no idea how to tell mm.mysql what the local name
My solution was to take all the fancy installation determination stuff out of
safe_mysqld, hard code the installation stuff there, put a
copy my.cnf with the same information in /etc, and hard code the
installation data in mysql_configuration.
An open issue the system is getting the mysql_setaccess script
(perl5.00 DBI) to run.
> I had to abort 7.0 due to other problems that I encountered but there is a
> bulletin on the redhat web site about problems with the MySQL that shipped
> with 7.0. The link off the top page that says 'update notice' eventually
> gets you to a screen with the following info.
> The mysql packages shipped with Red Hat Linux 7.0 don't allow users to
> access the socket, causing the package to work for users "root" and "mysql"
> only. Also, the pid file handling has been fixed.
> > Please respond if you have any ideas.
> > Thanks