mysql
mysql copied to clipboard
An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications.
I am debugging a php-src 9151 issue and I decided to use this library to check if the issue is present with pure PHP MySQL impl. too or not. My...
I'm trying to debug an issue connecting to a vendor's database, and they recommended connecting with TLS. Connection worked fine when run against my local Dockerized MySQL-8 container, but when...
As currently it is not possible to send multiple statements with one `execute` call as it uses prepared statements, it would be nice to have a function to escape/quote scalar...
It's currently only tested against MariaDB on travis. We should enlarge to also Test MySQL (5.7 and 8)
Can't you pass the error code to the QueryError like in http://php.net/manual/de/mysqli.errno.php Or maybe sth more interoperable with PgSql, like an QueryExecutionError?
Hello, Using v2.1.3 of Amphp/Mysql, I need to execute queries on multiple db servers, with the following requirements: - queries run in parallel: one query per db server - if...
Hello I randomly get this error when use Mysql Amp library. "The connection has been closed in" The problem is random and here what i noticed: When i use Database...
Code to make the connection pool: ```php $config = [/* OMITTED */]; $tlsContext = (new ClientTlsContext()) ->withCaFile($config['options'][PDO::MYSQL_ATTR_SSL_CA] ?? null); return new MysqlConnectionPool( new MysqlConfig( $config['host'], (int) $config['port'], $config['username'], $config['password'], $config['database'],...
In a specific table field structure, and simple query will get this error: ```php Amp\Sql\SqlException: Unexpected string length for datetime in binary protocol: 8 in /vendor/amphp/mysql/src/MysqlDataType.php:190 ``` Test table SQL...
Hi! In the readme it is stated the following: > Unbuffered results to reduce memory usage for large result sets But I'm unable to find any examples or references in...