Richard G
Verified User
I would like to try and change to MariaDB 10.2
Now this is my current my.cnf completely:
Can this be kept or is it best to change some things of it?
Next I have to convert to MariaDB 10.2 but I found 2 ways of doing this.
Method 1:
Method 2:
The major difference in both methods is that in method 1 ./build mysql is used and in method 2 ./build mariadb is used.
I presume the second one is correct?
And ofcourse creating a backup of /var/lib/mysql is also a good idea so I will do this anyway.
Any other thoughts, changes, improvements or anything else I have to take into consideration?
Now this is my current my.cnf completely:
Code:
[mysqld]
local-infile=0
bind-address = 127.0.0.1
default-storage-engine=MyISAM
innodb_file_format=Barracuda
innodb_file_per_table=1
open_files_limit = 2048
innodb_max_dirty_pages_pct = 0
performance_schema=off
slow_query_log = 1
slow_query_log_file=/var/log/mysql/slow-queries.log
long_query_time = 10
# query_cache_size = 16M
# query_cache_type = 1
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
Can this be kept or is it best to change some things of it?
Next I have to convert to MariaDB 10.2 but I found 2 ways of doing this.
Method 1:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set mariadb 10.0
./build set mysql_inst mariadb
./build mysql
Method 2:
Code:
1. Create a copy/backup of /var/lib/mysql
2. Edit /usr/local/directadmin/custombuild/options.conf and set the mariadb version you want to use.
3. Run /usr/local/directadmin/custombuild/build mariadb
4. You're done!
The major difference in both methods is that in method 1 ./build mysql is used and in method 2 ./build mariadb is used.
I presume the second one is correct?
And ofcourse creating a backup of /var/lib/mysql is also a good idea so I will do this anyway.
Any other thoughts, changes, improvements or anything else I have to take into consideration?