Let us see the post-installation set up and testing that needs to be done once MySQL has been successfully installed −
Once MySQL has been installed, the below mentioned steps have to be performed.
If required, the data directory has to be initialized and the MySQL grant tables have to be created. For certain MySQL installation methods, the data directory initialization is done automatically.
The Windows installation operations are performed by the MySQL installer. It can be installed on Linux using a server RPM or Debian distribution which is from Oracle. The installation can be done using the native packaging system on many platforms, such as Debian Linux, Unbuntu Linux, Gentoo Linux, and so on. It can be installed on macOS using a DMG distribution.
For other platforms and installation types, the data directory needs to be manually initialized. This includes installing from the generic binary and source distribution on Unix and Unix-like systems, as well as installing from a ZIP archive package on Windows.
Start the server, and ensure that it can be accessed.
Passwords need to be assigned to the initial ‘root’ account in the grant table. This has to be done if it wasn’t previously done during the initialization of the data directory. This way, passwords would prevent unauthorized access to MySQL server.
On the other hand, the server needs to be ensured to start and stop automatically when the system starts and stops respectively.
If required, the time zone tables can also be populated so that they can recognize the named time zones.