Loading...

Knowledge Base

Powered By Network Solutions: How to Connect to a MySQL Database

MySQL is an open-source relational database management system that uses Structured Query Language (SQL), the most popular language for adding, accessing, and processing data in a database. Because of its speed and reliability, MySQL is most commonly used as a Web application alternative to proprietary database systems. It can run on UNIX, Windows, and Macintosh operating systems.

To connect your web page to your MySQL database:

  1. Log in to your Account Manager via https://www.networksolutions.com/my-account/login.
  2. Click Hosting on the left-hand menu.

    Connect to a MySQL Database

     

  3. Click the MANAGE button of your hosting package.

    Connect to a MySQL Database

     

  4. In the left pane, click on MySQL Management.

    Connect to a MySQL Database

     

  5. Look for the database you want to connect to and click its Manage button.

    Connect to a MySQL Database

     

  6. On the Database Management page, look for your database user and click its ellipsis icon on the right.

    MySQL Database Management Page

     

  7. Select Generate Code from the list of options.

    Generate MySQL Connection Code

     

  8. Select the Programming Language (Perl, PHP, or Python) from the drop-down menu.

    Copy MySQL Connection Code

  9. The connection string and codes necessary to connect to your database are generated depending on the selected programming language. Click Copy Code Snippet and close the pop-up window.
  10. Use the code in your site where you want to make the connection to the database.
Did you find this article helpful?

 
* Your feedback is too short

Loading...