Within the project sometimes requires using multiple MySQL databases. It may be the existing database from another project or the new one.
To handle this with PHP requires to create separate connections for each database and use the connection accordingly while manipulating data in MySQL database.



