password value

I'm trying to install a php script that uses mysql. The problem is
that the php config file asks for my database password and I don't
have one because it's not required for the database. So now I'm
getting an error that all variables in the config php must have a
value. So what do I put for my password if I don't have/need a
password?
littleboyblu87 [ Di, 27 Februar 2007 06:27 ] [ ID #1641869 ]

Re: password value

Mike S. wrote:
> I'm trying to install a php script that uses mysql. The problem is
> that the php config file asks for my database password and I don't
> have one because it's not required for the database. So now I'm
> getting an error that all variables in the config php must have a
> value. So what do I put for my password if I don't have/need a
> password?
>

$password="";

--

//Aho
Shion [ Di, 27 Februar 2007 08:15 ] [ ID #1641870 ]

Re: password value

Mike S. wrote:
> I'm trying to install a php script that uses mysql. The problem is
> that the php config file asks for my database password and I don't
> have one because it's not required for the database. So now I'm
> getting an error that all variables in the config php must have a
> value. So what do I put for my password if I don't have/need a
> password?
>

Seriously, you should set a password. Regardless of how secure the
environment is, some things just aren't done, and leaving a database
server without password protection is one of them...

--cb
Christoph Burschka [ Di, 27 Februar 2007 14:01 ] [ ID #1641871 ]
PHP » alt.php.sql » password value

Vorheriges Thema: Backup with mysqldump works, but not with phpmyadmin
Nächstes Thema: statistical queries