Warning: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /htdocs/sq/sol/selec06_mytusol.php on line 2
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /htdocs/sq/sol/selec06_mytusol.php:2
Stack trace:
#0 /htdocs/sq/sol/selec06_mytusol.php(2): PDO->__construct('mysql:host=loca...', 'root', '')
#1 {main}
thrown in /htdocs/sq/sol/selec06_mytusol.php on line 2