Mysql * server * protocol implementation for PHP

There are already some available applications that "understand" the mysql protocol and to which it can connect using the mysql client - for example: you can connect to the sphinx search engine using () the mysql client, mysql-proxy also understands the mysql protocol. and etc.

now I am wondering if there is an implementation available in / for PHP so that you can connect to some server application implemented in PHP using the mysql client? I am looking for some PHP library (or extension) that implements the mysql protocol.

thanks, Harald

+5
source share
4 answers
+1

, , , , . , , .

+1

, : , mysql, mysql. PHP ?

If your existing system can execute HTTP requests, you may need to create a backup service in php and get access to this restfull service. PHPRest may be what you are looking for.

Keep in mind that this is probably slow compared to a direct database call.

0
source

PHP has built-in functions of mySQL client: manual

Is that what you mean?

-1
source

All Articles