From general stupidity I have managed to mangle mysql80-server when I tried too upgraded it when I upgrade to FreeBSD 13.2.
In working with the the installation If tried to follow the process set forth in
https://forums.freebsd.org/threads/failed-on-start-mysql80-server-on-freebsd12-0.68857/
and have followed this several times as sudo
When I run a start from the command line using
I get the following error.
I understand th is to me an arror caused by directories that aren't empty . I check the directories
I think in my much reading I saw something about issues with my.cnf
can cause the error to. Here is what I THINK my applicable my.cnf contains
I have FreeBSD 13.2. and have mysql80-server-8.0.33 installed
In working with the the installation If tried to follow the process set forth in
https://forums.freebsd.org/threads/failed-on-start-mysql80-server-on-freebsd12-0.68857/
and have followed this several times as sudo
Code:
service mysql-server stop
rm -rf /var/db/mysql/*
service mysql-server start
When I run a start from the command line using
sudo service mysql-server start
I get the following error.
Code:
/usr/local/etc/rc.d/mysql-server: WARNING: failed precmd routine for mysql
I understand th is to me an arror caused by directories that aren't empty . I check the directories
Code:
/var/db/mysql_secure
/var/db/mysql
/var/db/mysql_tmp
I think in my much reading I saw something about issues with my.cnf
can cause the error to. Here is what I THINK my applicable my.cnf contains
Code:
[client]
port = 3306
socket = /tmp/mysql.sock
[mysql]
prompt = \u@\h [\d]>\_
no_auto_rehash
[mysqld]
user = mysql
port = 3306
socket = /tmp/mysql.sock
basedir = /usr/local
datadir = /var/db/mysql
tmpdir = /var/db/mysql_tmpdir
#replica_load_tmp = /var/db/mysql_tmpdir
secure-file-priv = /var/db/mysql_secure
log-bin = mysql-bin
log-output = TABLE
relay-log-recovery = 1
slow-query-log = 1
server-id = 1
sync_binlog = 1
sync_relay_log = 1
binlog_cache_size = 16M
binlog_expire_logs_seconds = 30
default_password_lifetime = 0
enforce-gtid-consistency = 1
gtid-mode = ON
safe-user-create = 1
lower_case_table_names = 1
explicit-defaults-for-timestamp = 1
myisam-recover-options = BACKUP,FORCE
open_files_limit = 32768
table_open_cache = 16384
table_definition_cache = 8192
net_retry_count = 16384
key_buffer_size = 256M
max_allowed_packet = 64M
query_cache_type = 0
query_cache_size = 0
long_query_time = 0.5
innodb_buffer_pool_size = 1G
innodb_data_home_dir = /var/db/mysql
innodb_log_group_home_dir = /var/db/mysql
innodb_data_file_path = ibdata1:128M:autoextend
innodb_temp_data_file_path = ibtmp1:128M:autoextend
innodb_flush_method = O_DIRECT
innodb_log_buffer_size = 16M
innodb_write_io_threads = 8
innodb_redo_log_capacity = 100
innodb_read_io_threads = 8
innodb_autoinc_lock_mode = 2
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
[mysqldump]
max_allowed_packet = 256M
quote_names
quick
I have FreeBSD 13.2. and have mysql80-server-8.0.33 installed
Last edited: