OS: Solaris 7, Sparc
MySQL Version: 3.23.29a

Problem:
        Sometimes when I do a mysqladmin shutdown on the command line mysql restarts 
itself instead of shutting down.

>From the CLI:
        elvis~ >mysqladmin -uadmin -pdevsqladmin shutdown
        Terminated
        010313 18:17:40  mysqld restarted

        <hangs until I press control C>

>From the .err log:
        010313 18:17:40  mysqld restarted
        /usr/local/mysql-3.23.29a/libexec/mysqld: ready for connections

>From the query log:
010313 18:17:40       3 Connect    admin@localhost on 
                      3 Query      SHOW VARIABLES LIKE 'pid_file'
                      3 Shutdown  
/usr/local/mysql-3.23.29a/libexec/mysqld, Version: 3.23.29a-gamma-log, started with:
Tcp port: 3306  Unix socket: /tmp/mysql.sock
Time                 Id Command    Argument
        

        Sometimes it shutdowns properly.  Any ideas?


2nd Problem, using BDB when I insert data, for example

mysql> CREATE TABLE testBDB (
    -> name varchar(30) not null        
    -> ) TYPE=BDB ;
Query OK, 0 rows affected (0.10 sec)

mysql> INSERT INTO testBDB (name) VALUES ('test no begin/commit') ;
Query OK, 1 row affected (0.01 sec)

mysql> SELECT * FROM testBDB ;
+----------------------+
| name                 |
+----------------------+
| test no begin/commit |
+----------------------+
1 row in set (0.00 sec)

mysql> BEGIN WORK ;
Query OK, 0 rows affected (0.00 sec)

mysql> INSERT INTO testBDB (name) VALUES ('test with begin and commit') ;
Query OK, 1 row affected (0.00 sec)

mysql> COMMIT ;
Query OK, 0 rows affected (0.00 sec)

mysql> SELECT * FROM testBDB ;
+----------------------------+
| name                       |
+----------------------------+
| test no begin/commit       |
| test with begin and commit |
+----------------------------+
2 rows in set (0.00 sec)


then I do a restart and I get the behavior in problem #1

mysql> SELECT * FROM testBDB ;
Empty set (0.00 sec)


all the data is gone!

Any ideas on what is happening?  I can't find anything in the logs about this, and the 
log.XXXXX are all binary data so I cannot decopher that.

I'd upgrade to 34a but I am getting hte configure error that other people here are 
getting about no value for Char.

Startup options for MySQL:

/usr/local/mysql/bin/safe_mysqld --user=sql --log=/disk1/mysql-data-3.23.29/mysqld.log 
&

Bill


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to