Current time: 11-11-2024, 07:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solucionado]Problema php-bases de datos
Author Message
Arturo Offline
Junior Member
*

Posts: 77
Joined: Dec 2008
Reputation: 0
Post: #1
[Solucionado]Problema php-bases de datos
Hola, me funciona todo correctamente, pero tengo un script que antes me funcionaba y ahora ha dejado de funcionar tirando este error:

Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)


Ideas?


Un Saludo!
(This post was last modified: 04-29-2009 10:03 PM by Arturo.)
04-29-2009 01:53 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: PRoblema php-bases de datos
Has cambiado el pass del root en mysql????
04-29-2009 02:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Arturo Offline
Junior Member
*

Posts: 77
Joined: Dec 2008
Reputation: 0
Post: #3
RE: PRoblema php-bases de datos
no, eso es lo extraño... que todos me han dicho que es la pass, pero he probado a loguearme en el pma, con root y la pass del config y me loguea.
04-29-2009 02:43 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: PRoblema php-bases de datos
Pues es el pass, crea otro usuario en vez de root a ver si conecta el script
04-29-2009 02:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: PRoblema php-bases de datos
El problema es que la web esta ejecutando un query (mysql_query) antes de hacer el mysql_connect Tongue

PD: Me tengo que marchar por eso soy tan rancio Tongue
04-29-2009 04:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Arturo Offline
Junior Member
*

Posts: 77
Joined: Dec 2008
Reputation: 0
Post: #6
RE: PRoblema php-bases de datos
Ya encontré la solución, tuve que editar unos ficheros de ispcp.

Gracias de todas formas.
04-29-2009 10:02 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #7
RE: [Solucionado]Problema php-bases de datos
Podrías decirnos qué modificaciones en qué ficheros? Por si alguna vez nos encontramos con algo parecido...
04-29-2009 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Arturo Offline
Junior Member
*

Posts: 77
Joined: Dec 2008
Reputation: 0
Post: #8
RE: [Solucionado]Problema php-bases de datos
el php.ini, eliminar las funciones prohibidas Wink
04-30-2009 01:51 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)