Seite 1 von 1

PHP / MYSQL Problem .. geht nur immer jedes 2te mal

Verfasst: 09.06.2006 19:32
von habbi
meine topsitepage geht irgendwie nur jedes 2te mal..
fragt mich nicht wiso .. ???
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /srv/www/httpd/phost/t/com/pytalhost/topsite/web/sources/sql/mysql.php on line 27

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /srv/www/httpd/phost/t/com/pytalhost/topsite/web/sources/sql/mysql.php on line 28

Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'88.198.1.110' (using password: NO) in /srv/www/httpd/phost/t/com/pytalhost/topsite/web/sources/sql/mysql.php on line 42

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /srv/www/httpd/phost/t/com/pytalhost/topsite/web/sources/sql/mysql.php on line 42

Fatal error: Database error in "/srv/www/httpd/phost/t/com/pytalhost/topsite/web/index.php" on line 37

in /srv/www/httpd/phost/t/com/pytalhost/topsite/web/sources/sql/mysql.php on line 83
wird ausgegeben

Verfasst: 09.06.2006 19:52
von PhilippK
Verusch mal, ob die DB-Verbindung überhaupt funktioniert: KB:dbinformer

Gruß, Philipp

Verfasst: 09.06.2006 19:54
von habbi
hmm ja hab glaubich den fehler, hab als host localhost, obwohl es mysql1 war^^
vielen dank für den link