Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/10/2006, 07:50
Avatar de mousi
mousi
 
Fecha de Ingreso: septiembre-2006
Mensajes: 94
Antigüedad: 18 años, 6 meses
Puntos: 1
Necesito ayuda urgente, no puedo solucionar mi problema con mysql

hola tengo un problema, estoy intentando grabar un registro a una de mis tablas de mi bd que esta en mysql este es el codigo:

$sql="INSERT INTO notaprensa (idnotpre,fecha,titulo,nota,imagen,responsable) VALUES (0,'2006-08-28','prueba','nota de prensa','xxx.jpg','jorge')";
$rs=mysql_query($sql) or die (mysql_error());

Y este es el error

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\html\prueba.php on line 56

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\html\prueba.php on line 56
Access denied for user 'ODBC'@'localhost' (using password: NO)

Denme una mano para poder solucionar este problema.... gracias