--- title: "4. Connect to a Database" --- # 4. Connect to a Database > After you [install your database](database-connections/installing-databases/installing-databases.md), you can connect it to Ignition. To get detailed descriptions for a number of different database connections, see [Connecting to Databases](database-connections/connecting-to-databases/connecting-to-databases.md). ![" "](database-show.png) ## Connect to MySQL 1. Log into the Configure section of the Gateway Webpage just like in the previous sections. 2. Navigate to the Databases **Connections** page. 3. Click the **Create new Database Connection...** link. 4. Select the **MySQL ConnectorJ** option and click the **Next >** button. ![" "](database-mysql-select.png) 5. Enter a Name, Connect URL, username, and password. If you just installed MySQL on the same machine as Ignition you will be able to use the following credentials: Name: **MySQL** Connect URL: **jdbc:mysql://localhost:3306/test** Username: **root** Password: [whatever password you entered when installing MySQL] Scroll to the bottom and click the **Create new Database Connection** button. ![" "](database-mysql-details.png) [Learn more about Database Connections](database-connections/database-connections.md)