Parameters and methods of connecting to MySQL.


MySQL connection parameters and methods



  • The name of the host (server) hosting MySQL: localhost or 127.0.0.1or the IP of your server

  • Port: 3306

  • Login: which you have created in your cpanel (or other control panel) Example: user_loginbd

  • Password: which you created in your cpanel (or other control panel) Example: Hs8%68ws

  • Database name: which you have created in your cpanel (or other control panel) Example: user_bd


 


For security reasons, direct access to MySQL servers from the Internet is closed, and clients are provided with the following database administration and use capabilities:



  • working with the database from user scripts in Perl, PHP, etc.

  • database management via the phpMyAdmin web interface. You set the access details yourself when creating the Database in your control panel.