WTF - we are talking about *database connections* and *not* http-URL's the webserver is only the *messenger*
Am 13.01.2014 18:54, schrieb Érico: > using both urls I get the same error : > > http://localhost/mysql/index.php > http://127.0.0.1/mysql/index.php > > in 127.0.0.1... after I submit the index.php ... it redirects to localhost > too .. > > 2014/1/13 Reindl Harald <h.rei...@thelounge.net> > >> >> >> Am 13.01.2014 18:28, schrieb Érico: >>> ericomtxmacbookpro:bin ericomtx$ ./mysql -u root -p mysql-admin >>> Enter password: >>> Welcome to the MySQL monitor. Commands end with ; or \g. >>> Your MySQL connection id is 31 >>> Server version: 5.6.15 MySQL Community Server (GPL)> >>> >>> but in the browser I get the error : >>> >>> Access denied for user 'root'@'localhost' (using password: YES) >>> >>> I can't find any information in error log and access log >>> >>> is there any command parameter that I should use when starting mysql so >>> this doesn't happen? >> >> are you using "localhost" or "127.0.0.1" in the web-application >> root@localhost != root@127.0.0.1 = different users >> >> localhost: Unix-Socket >> 127.0.0.1: TCP
signature.asc
Description: OpenPGP digital signature