With all the DBaaS, IaaS and PaaS environments, sometimes I think the Art of MySQL initialization is becoming a lost art. Many times we just delete the MySQL Server and order a new one.
Just recently I was talking with a colleague, and this subject came up. We both thought about it and decided we have become spoiled by automation. We were both rusty on this process. This gave me the idea for this post.
You might be thinking why initialize MySQL again? Let’s say that
you wanted MySQL Server 8.0 not to use mixed case. Yet when the
database was initialized the default setting of
lower_case_table_names = 0 was used. With 8.0 you
can’t make the change lower_case_table_names = 1 in
the my.cnf and restart MySQL. It won’t work, leaving you with two
option. One Initialize MySQL a second time, or order a new
environment.
Let’s look at the steps we would need to change the MySQL server to support …
[Read more]