Código PHP:
Ver original
$db_hostname = "localhost"; $db_type = "mysql"; // Database type for adodb //define('ADODB_FORCE_NULLS', 1); $debug = false; } } /* change this stuff for local conditions */ $db_user = "lander"; // mysql user, this should be a company specific user $db_password = "xxxxxxxxxxxx"; // mysql password $db_name = "xxxxxx"; // mysql database name for the individual database } /* change this stuff for local conditions */ $db_user = "cccccc"; // mysql user, this should be a company specific user $db_password = "cccccc"; // mysql password $db_name = "cccccccc"; // mysql database name for the individual database } /* change this stuff for local conditions */ $db_user = "vvvvvvv"; // mysql user, this should be a company specific user $db_password = "vvvvvvv"; // mysql password $db_name = "vvvvvvvv"; // mysql database name for the individual database } /* change this stuff for local conditions */ $db_user = "bbbbbbbb"; // mysql user, this should be a company specific user $db_password = "bbbbbbbb"; // mysql password $db_name = "bbbbbbbb"; // mysql database name for the individual database }
me dijeron que lo unico que tenia que hacer era cambiar los datos mysql de la 1 conexion de settings.php y ya funcionaria pero me sale este error y no creo que sea problema de ese archico ya que dice que el usuario "apache" no puede conectar sin contraseña.
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/httpd/vhosts/myweb.net/httpdocs/adodb/drivers/adodb-mysql.inc.php on line 373
el sistema de base de datos es ADOdb.
muchas gracias