How can I connect to my mysql databases that I used to create heidsql from a website?

I am using heidisql to create mysql databases. How do I connect to these databases from the website I am using. I need to be able to modify databases from a website. I am writing a website in php and writing a program that interacts with databases in python. Can anyone help me? Thanks to

0


source to share


2 answers


You can use PHP MySQL functions. Or you can use the PEAR DB package to make things easier. If you are not already using PEAR, you will need to install it first.



+1


source


You can interact with the database directly using the built-in MySQL MySQL functions: PHP MySQL Docs



Alternatively, you can write all your database interaction in Python and then use your PHP site for these Python scripts using the PHP system function .

0


source







All Articles