Hello all.
I downloaded the mysql v4.0.1 source and openssl 0.9.6c source.
I built openssl OK
I built mysql as follows:
./configure --with-vio --with-openssl
make
make install
The build went well all the way.
The mysql server seem to start ok. When I try to connect with mysql
client after a few seconds I get the following error message
mysql>show databases;
ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 8
Current database: *** NONE ***
when I do a show status I get the following.
mysql> show status;
+--------------------------------+-------+
| Variable_name | Value |
+--------------------------------+-------+
| Aborted_clients | 8 |
| Aborted_connects | 0 |
| Bytes_received | 529 |
| Bytes_sent | 1049 |
| Com_admin_commands | 0 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 0 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_commit | 0 |
| Com_create_db | 0 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 0 |
| Com_delete | 0 |
| Com_delete_multi | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_flush | 0 |
| Com_grant | 2 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_insert | 0 |
| Com_insert_select | 0 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 0 |
| Com_optimize | 0 |
| Com_purge | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 0 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_select | 0 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 10 |
| Com_show_fields | 0 |
| Com_show_grants | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_stat | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 0 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_stat | 0 |
| Com_show_status | 2 |
| Com_show_tables | 0 |
| Com_show_variables | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 0 |
| Connections | 10 |
| Created_tmp_disk_tables | 0 |
| Created_tmp_tables | 0 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_delete | 0 |
| Handler_read_first | 1 |
| Handler_read_key | 1 |
| Handler_read_next | 0 |
| Handler_read_prev | 0 |
| Handler_read_rnd | 0 |
| Handler_read_rnd_next | 11 |
| Handler_update | 0 |
| Handler_write | 1 |
| Key_blocks_used | 1 |
| Key_read_requests | 2 |
| Key_reads | 1 |
| Key_write_requests | 1 |
| Key_writes | 1 |
| Max_used_connections | 0 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 2 |
| Open_files | 6 |
| Open_streams | 0 |
| Opened_tables | 8 |
| Questions | 8 |
| Qcache_queries_in_cache | 0 |
| Qcache_inserts | 0 |
| Qcache_hits | 0 |
| Qcache_not_cached | 0 |
| Qcache_free_memory | 0 |
| Qcache_free_blocks | 0 |
| Qcache_total_blocks | 0 |
| Rpl_status | NULL |
| Select_full_join | 0 |
| Select_full_range_join | 0 |
| Select_range | 0 |
| Select_range_check | 0 |
| Select_scan | 0 |
| Slave_running | OFF |
| Slave_open_temp_tables | 0 |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 0 |
| Sort_rows | 0 |
| Sort_scan | 0 |
| ssl_accepts | 0 |
| ssl_finished_accepts | 0 |
| ssl_finished_connects | 0 |
| ssl_accept_renegotiates | 0 |
| ssl_connect_renegotiates | 0 |
| ssl_callback_cache_hits | 0 |
| ssl_session_cache_hits | 0 |
| ssl_session_cache_misses | 0 |
| ssl_session_cache_timeouts | 0 |
| ssl_used_session_cache_entries | 0 |
| ssl_client_connects | 0 |
| ssl_session_cache_overflows | 0 |
| ssl_session_cache_size | 0 |
| ssl_session_cache_mode | NONE |
| ssl_sessions_reused | 0 |
| ssl_ctx_verify_mode | 0 |
| ssl_ctx_verify_depth | 0 |
| ssl_verify_mode | 0 |
| ssl_verify_depth | 0 |
| ssl_version | |
| ssl_cipher | |
| ssl_cipher_list | |
| ssl_default_timeout | 0 |
| Table_locks_immediate | 7 |
| Table_locks_waited | 0 |
| Threads_cached | 0 |
| Threads_created | 9 |
| Threads_connected | 1 |
| Threads_running | 1 |
| Uptime | 1232 |
+--------------------------------+-------+
150 rows in set (0.00 sec)
and a show variables;
mysql> show variables like 'have%';
ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 15
Current database: *** NONE ***
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_bdb | NO |
| have_innodb | YES |
| have_isam | YES |
| have_raid | NO |
| have_symlink | YES |
| have_openssl | YES |
+---------------+-------+
6 rows in set (0.14 sec)
I can see that ipenssl is running, but the server keeps loosing the
connection.
If I buld mysql without the --with-vio --with-openssl options all
works ok, except of course I have no ssl.
Has anyone gotten 4.0.1 to run with openssl? If so, please let me
know what you did to make it work.
Should I use an older version of openssl? Maybe 0.9.6b or 0.9.6a?
Thanks,
Jorge
---------------------------------------------------------------------
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