Can somebody point me how I can start the connection string in a php page to make the sql connection to the mariadb sql database without SSL security?
I tried the one below but no luck.
The sql dbase and php site are both on the same Home Assistant server and Apache2 is also running
<?php mysql_connect("localhost", "username", "password") or die(mysql_error()); mysql_select_db("dbasename") or die(mysql_error());