Re: phpMyAdmin please help
| From: | Iguider | Date: | Sun, 12 Nov 2000 22:53:33 +0000 |
| Subject: | Re: phpMyAdmin please help | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124085@lists.php.net to get a copy of this message | ||
Hi
thanks a lot John Nichel and Stephan , I understand now. I put blank in
password and it works.
thanks.
but after that in the next day (as I said my previous email) : Mysql stop
working and shows : "Host 'localhost' is not allowed to connect to this
MySQL server"
thanks for help
----- Original Message -----
From: "John Nichel" <jnichel@by-tor.com>
To: "Iguider" <iguider@ifrance.com>
Cc: "PHP List" <php-general@lists.php.net>
Sent: Tuesday, November 12, 2002 12:20 AM
Subject: Re: [PHP] phpMyAdmin please help
> See below....
>
> Iguider wrote:
> > in my dtabase.php :
> > $dbHost = "";
> > $dbUser = "Amazigh";
> > $dbPassword = "mcamca";
> > $dbName = "Forum";
> > $db = mysql_connect($dbHost, $dbUser, $dbPassword);
> > mysql_select_db($dbName, $db);
>
> $dbHost is empty. If the script is on the same machine as the MySQL db,
> set it to "localhost". If the script is on a different machine, set it
> to the name of that machine (and make sure that your $dbUser has rights
> to access the database remotly). MySQL usernames and passwords are case
> sensitive.
>
> > and in phpMyAdmin's config.inc.php :
> >
> > $cfgServers[$i]['user'] = 'root'; // MySQL user
> > $cfgServers[$i]['password'] = ''; // MySQL password
>
> If you have a root password, fill it in. Seeing that it won't let you
> connect via phpMyAdmin, the db probably has a root password.
>
> > ----- Original Message -----
> > From: "Stephen" <webmaster@melchior.us>
> > To: <iguider@ifrance.com>
> > Cc: "PHP List" <php-general@lists.php.net>
> > Sent: Monday, November 11, 2002 10:14 PM
> > Subject: Re: [PHP] phpMyAdmin please help
> >
> >
> >
> >>You may also want to check your forum's database.php after checking the
> >>phpMyAdmin's config.inc.php.
> >>
> >>
> >>----- Original Message -----
> >>From: "John Nichel" <jnichel@by-tor.com>
> >>To: "Iguider" <iguider@ifrance.com>
> >>Cc: <php-general@lists.php.net>
> >>Sent: Monday, November 11, 2002 4:47 PM
> >>Subject: Re: [PHP] phpMyAdmin please help
> >>
> >>
> >>
> >>>Look at the "config.inc.php" file in the phpMyAdmin install directory.
> >>>
> >>>Iguider wrote:
> >>>
> >>>>Hi
> >>>>I have a furom working under php 4.0 and when I upgrade it to php 4.2
> >>>
> >>by installing the new version of easyphp 1.6.0.0 . the new phpMyAdmin is
> >>2.2.6 .
> >>
> >>>>when I run the forum or I tried to re-create a tables in mySQL
> >>>
> > database
> >
> >>with a install.php it shows me the following errors :
> >>
> >>>>Warning: Unknown MySQL Server Host 'mySQL' (22) in e:\program
> >>>
> >>files\easyphp\www\forum\database.php on line 7
> >>
> >>>>Warning: MySQL Connection Failed: Unknown MySQL Server Host 'mySQL'
> >>>
> > (22)
> >
> >>in e:\program files\easyphp\www\forum\database.php on line 7
> >>
> >>>>Warning: mysql_select_db(): supplied argument is not a valid
> >>>
> > MySQL-Link
> >
> >>resource in e:\program files\easyphp\www\forum\database.php on line 8
> >>
> >>>>are there in phpMyAdmin where to give a database username and password
> >>>
> > ?
> >
> >>when I copy the old database and i try to start the forum it shows me
> >
> > "acces
> >
> >>denied to name@localhost (password : ok) ".
> >>
> >>>>Please help
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>--
> >>>By-Tor.com
> >>>It's all about the Rush
> >>>http://www.by-tor.com
> >>>
> >>>
> >>>--
> >>>PHP General Mailing List (http://www.php.net/)
> >>>To unsubscribe, visit: http://www.php.net/unsub.php
> >>>
> >>>
> >>
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >>__________________________________________________
> >>Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
> >>Haut débit à partir de 30 euros/mois :
> >>http://www.ifrance.com/_reloc/w
> >
> >
> >
> > __________________________________________________
> > Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
> > Haut débit à partir de 30 euros/mois :
> > http://www.ifrance.com/_reloc/w
> >
> >
>
>
> --
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
>
>
> __________________________________________________
> Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
> Haut débit à partir de 30 euros/mois :
> http://www.ifrance.com/_reloc/w
__________________________________________________
Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Haut débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w