Hello guys,
I was searching in the last 2 days to convert all my innodb tables,databases to myisam because is the secand time i have problems witch innodb and i`m not able to fix the tables/databases, so i whant to stop using innodb at all for the entire server. I didnt found nothink clearly, and somehow i whant to be this post for those who search to do this.
I know fixing/recovering innodb is pain so i whant to quit using innodb.
On my.cnf i got this
But on the server i sow lots of innodb tables, databases...etc so i whant to convert all to myisam and disable innodb .
Is there someone who knows how to do this and not lose any tables/databases ?
Thank you.
I was searching in the last 2 days to convert all my innodb tables,databases to myisam because is the secand time i have problems witch innodb and i`m not able to fix the tables/databases, so i whant to stop using innodb at all for the entire server. I didnt found nothink clearly, and somehow i whant to be this post for those who search to do this.
I know fixing/recovering innodb is pain so i whant to quit using innodb.
On my.cnf i got this
Code:
[mysqld]
log-error=/var/lib/mysql/d9.**********.ro.err
performance-schema=0
default-storage-engine=MyISAM
local-infile=0
#innodb_force_recovery=6
#innodb_purge_threads=0
max_connections=250
max_user_connections=20
wait_timeout = 300
connect_timeout = 10
max_allowed_packet=500M
join_buffer_size=2M
sort_buffer_size=2M
thread_cache_size = 16
table_open_cache = 2000
table_definition_cache = 1024
query_cache_type = 1
query_cache_size = 30M
query_cache_limit = 1M
tmp_table_size=64M
max_heap_table_size=64M
#tmpdir = "/home/mysqltmp/"
socket=/var/lib/mysql/mysql.sock
open_files_limit=50000
key_buffer_size = 30M
innodb_buffer_pool_size = 1G
innodb_file_per_table=1
innodb_stats_on_metadata=0
slow-query-log=1
long-query-time=1
slow-query-log-file="/home/slow.log"
max_allowed_packet=314572800
Is there someone who knows how to do this and not lose any tables/databases ?
Thank you.