This is just a quick question, I couldn't find it on the internet, but I did wanted to have a confirmation.
Say that if I, using PHP, want to connect to (for both the same) MySQL server, but I want to use two databases, not tables. Because you can connect to only one MySQL-database in the PHP mysqli_connect()
command, will, connecting to two databases, though on the same server, use two connections.
Because then it'll probably go fast with the max_connections
, right?
P.S. What was the SQL-command again to see the mac_connections
value again? I thought it started with GET GLOBAL ...
or something, but I might be wrong.
I do not have access to the server, only to (limited) FTP files (it's a bit irritating).