Computer Science, asked by nithya1307, 3 months ago

Explain any four parameters of connect ( ) function used to integrate MySQL

database with Python.​

Answers

Answered by rajashreekolawale
2

Answer:

The connect() function accepts four parameters: host, database, user and password. The connect() function establishes a connection to the python_mysql database and returns a MySQLConnection object. Third, check if the connection to the MySQL database has been established successfully by using is_connected() method.

Similar questions