Re: Autotests: Access denied for user 'root'@'localhost' (using password: NO)
| From: | Reindl Harald | Date: | Wed, 17 Aug 2011 22:56:41 +0000 |
| Subject: | Re: Autotests: Access denied for user 'root'@'localhost' (using password: NO) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54660@lists.php.net to get a copy of this message | ||
Am 18.08.2011 00:52, schrieb Simon J Welsh:
> On 18/08/2011, at 10:46 AM, Reindl Harald wrote:
>
>> Wouldn't it be a good idea to specify here a user/pwd/database for
>> build-systems without force them open root without password?
>>
>> SKIP mysql_get_host_info() [ext/mysql/tests/mysql_get_host_info.phpt] reason: Can't
>> connect to MySQL Server -
>> [1045] Access denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_get_proto_info() [ext/mysql/tests/mysql_get_proto_info.phpt] reason: Can't
>> connect to MySQL Server -
>> [1045] Access denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_get_server_info() [ext/mysql/tests/mysql_get_server_info.phpt] reason:
>> Can't connect to MySQL Server -
>> [1045] Access denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_info() [ext/mysql/tests/mysql_info.phpt] reason: Can't connect to MySQL
>> Server - [1045] Access denied
>> for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_insert_id() [ext/mysql/tests/mysql_insert_id.phpt] reason: Can't connect to
>> MySQL Server - [1045] Access
>> denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_list_dbs() [ext/mysql/tests/mysql_list_dbs.phpt] reason: Can't connect to
>> MySQL Server - [1045] Access
>> denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_list_fields() [ext/mysql/tests/mysql_list_fields.phpt] reason: Can't
>> connect to MySQL Server - [1045]
>> Access denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_list_processes() [ext/mysql/tests/mysql_list_processes.phpt] reason: Can't
>> connect to MySQL Server -
>> [1045] Access denied for user 'root'@'localhost' (using password: NO)
>> SKIP mysql_list_tables() [ext/mysql/tests/mysql_list_tables.phpt] reason: Can't
>> connect to MySQL Server - [1045]
>> Access denied for user 'root'@'localhost' (using password: NO)
>> FAIL mysql_[p]connect() - max_links/max_persistent [ext/mysql/tests/mysql_max_links.phpt]
>> SKIP mysql_[p]connect() - max_links/max_persistent
>> [ext/mysql/tests/mysql_max_persistent.phpt] reason: Can't
>> connect to MySQL Server - [1045] Access denied for user
>> 'root'@'localhost' (using password: NO)
>> SKIP mysqlnd.net_read_timeout > default_socket_timeout
>> [ext/mysql/tests/mysql_mysqlnd_read_timeout_long.phpt]
>> reason: Can't connect to MySQL Server - [1045] Access denied for user
>>
>
>
> From ext/mysql/tests/connect.inc:
> /*
> Default values are "localhost", "root", database "test" and empty
> password.
> Change the MYSQL_TEST_* environment values if you want to use another configuration.
> */
well but using root as default is a little bit crazy
using user "test" with empty password is acceptable but root????
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc