mysql_connect
Establish a connection to a MySQL database by providing host, user credentials, and optional parameters like database name and SSL settings.
Instructions
Connect to a MySQL database with provided connection parameters
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | Database name (optional) | |
host | Yes | MySQL server hostname or IP address | |
password | Yes | Database password | |
port | No | MySQL server port (default: 3306) | |
ssl | No | Use SSL connection (default: false) | |
user | Yes | Database username |