mysql -h $IP -P 3306 -u root -p"" --skip-ssl

Connect to a MySQL server as root with no password.

Command: Linux

References:

https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html