Mysql_pconnect ()
I can't figure out what this permanent link means.
The manual says that the same user name and password are used on the same host
Do you mean that all users share this link?
For example, A, B, c three computer access, refers to the ABC shared one, or just say when a visit for a build one, when B access is a B build one and so on
I think it's ABC common.
Because the user name and password for accessing the database are the same
Reply to discussion (solution)
There are two actions when connecting to a database:
1. Establish a network connection to the database server
2, the login database to establish a connection to the database
Mysql_connect Short connection, two actions are done
Mysql_pconnect long connection, first check whether there is idle network connection, no two actions are done; there is only a 2nd action
It has nothing to do with accessing the computer, it is related to the host address + username + password you connected.