looks like it is not localhost or iam missing something
NOTE: Free hosting accounts do not have remote MySQL access.Host/Server Name - [ localhost ]
Port - [ 3306 ] (not necessary)
Username --> Your cPanel username followed by an underscore and the MySQL username you configured in cPanel
Password --> The password that you used when creating the MySQL user
Database --> Your cPanel username followed by an underscore and the name of the database that you created in cPanel