If possible, and for testing purposes try starting the 4.1.3 server with the
options given on the command line. (datadir, pid, socket, port, etc...) 

-----Original Message-----
From: sean c peters
To: [EMAIL PROTECTED]
Sent: 8/12/04 6:37 PM
Subject: datadir specification, etc

I am 100% convinced that mysql 4.1.3 beta is not properly reading the
my.cnf 
configuration files. If i remove the /etc/my.cnf file and try to start
mysql 
4.1.3 with (im working from /usr/local/mysql-4.1.3/bin)
> ./mysqld_safe

i get the following output:  (mccoy is the name of the machine im on)
>touch: /usr/local/mysql-4.1.3/var/mccoy.err cannot create
>chown: /usr/local/mysql-4.1.3/var/mccoy.err: No such file or directory
>Starting mysqld daemon with databases from /usr/local/mysql-4.1.3/var
>./mysqld_safe: /usr/local/mysql-4.1.3/var/mccoy.err: cannot create

If i remove the /var/mysql-4.1.3/my.cnf file, i get the same output as
above, 
so its not being read either way. And i did specify /var/mysql-4.1.3/ as
my 
datadir with .configure when building 4.1.3

if i put the /etc/my.cnf file back, i get the following:
>A mysqld process already exists

So clearly, the /etc/my.cnf is being read, but the
/var/mysql-4.1.3/my.cnf is 
not. so i guess it doesnt matter what i specify in there at this point.

One strange thing is that ./msqyd_safe tries to use the databases in 
/usr/local/mysql-4.1.3/var/
But i specified a different datadir with configure!
my configure --prefix=/usr/local/mysql-4.1.3
but why should that matter?

In fact, when i installed 4.1.3 (make install),
the directory /usr/local/mysql-4.1.3/var/ was NOT created.

I dont think most of the info ive given matters, because my run-time 
configuration doesnt appear to be the problem. I dont believe that my
build 
configuration took effect properly. Does any of this make sense?

Still completely lost.
thanks
sean peters
[EMAIL PROTECTED]

*** Here's some my.cnf data, if it really matters ***

Here is part of the /var/mysql-4.1.3/my.cnf file:
[client]
port        =   3307
socket      =   /tmp/mysql-4.1.3.sock
pid-file    =   /usr/local/mysql-4.1.3/mysql-4.1.3.pid
datadir     =   /var/mysql-4.1.3/

[mysqld]
port        =   3307
socket      =   /tmp/mysql-4.1.3.sock
pid-file    =   /usr/local/mysql-4.1.3/mysql-4.1.3.pid
datadir     =   /var/mysql-4.1.3/

And here is info from /etc/my.cnf file:
[client]
port        = 3306
socket      = /tmp/mysql.sock

[mysqld]
port        = 3306
socket      = /tmp/mysql.sock


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to