Fwd: Mysql with SSL connections

2005-10-13 Thread Israel Fernández Cabrera
Well I've done more than that I wrote a custom init script with the simplest
possible start function containig just the following line:

/usr/bin/mysqld_safe 

and SSL does not work eather... please help...

best regards
Israel

-- Forwarded message --
From: RedRed!com IT Department [EMAIL PROTECTED]
Date: Oct 13, 2005 10:16 AM
Subject: Re: Mysql with SSL connections
To: Israel Fernández Cabrera [EMAIL PROTECTED]

Israel Fernández Cabrera wrote:
 Hi folk!

 I'm new to mysql and to databases...
 I'm using Fedora Core 4 with mysql 4.1.11-2 I need some application
clients
 to connect the server using SSL connections. I've created and tested x509
 certificates using the way mysql documentation explain, I've modified the
 /etc/my.cnf [mysqld] and [client] sections with the certificates that are
 located in /etc/pki (I've made some test with the certificates in /usr/pki
 too).
 The fact is that I cant start mysql with ssl support using the
 /etc/ec/d/init.d/mysql script. But the interesting thing is that if I copy
 the same script to any different folder it works. If it is in the
 init.dfolder I always get an SSL connection error.
 running mysqld, mysqld_safe by hand work perfectly and SSL works too. This
 is annoying I'll appreciate any help in respect.

 thanks in advance and best regards...

 --
 
 Israel Fdez. Cabrera
 [EMAIL PROTECTED]


You might want to check the mysql init.d script to make sure that all of
the paths in there are correct.

Sean


--

Israel Fdez. Cabrera
[EMAIL PROTECTED]


Re: Fwd: Mysql with SSL connections

2005-10-13 Thread Israel Fernández Cabrera
I'm using the default Fedora Core 4 Linux mysql RPM package... I just create
x509 certificates and modify the /etc/my.cnf file to use these certificates.
The default mysqld init script doesn't work in its normal' location, just
moving it to a different folder make it works. MySQL daemon runs by the way,
but without SSL support, mysqladmin tests return SSL connection error too...


On 10/13/05, RedRed!com IT Department [EMAIL PROTECTED] wrote:

 Israel Fernández Cabrera wrote:
  Well I've done more than that I wrote a custom init script with the
  simplest possible start function containig just the following line:
 
  /usr/bin/mysqld_safe 
 
  and SSL does not work eather... please help...
 
  best regards
  Israel


 Are you sure your starting the correct binary? When you installed mysql
 did you install to the default /usr/local or did you specifically tell
 it to install to /usr ?

 If you look in the error file in /usr/var or /usr/local/var, does it
 give you any useful information? It may have a reason for the failure in
 there.

 I'm not an expert, but those are some of the steps that I would take to
 figure this out.

 Sean




--

Israel Fdez. Cabrera
[EMAIL PROTECTED]