in my dtabase.php : $dbHost = ""; $dbUser = "Amazigh"; $dbPassword = "mcamca"; $dbName = "Forum"; $db = mysql_connect($dbHost, $dbUser, $dbPassword); mysql_select_db($dbName, $db);
and in phpMyAdmin's config.inc.php : $cfgServers[$i]['host'] = 'localhost'; // MySQL hostname $cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port $cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or socket') $cfgServers[$i]['controluser'] = ''; // MySQL control user settings // (this user must have read-only $cfgServers[$i]['controlpass'] = ''; // access to the "mysql/user" // and "mysql/db" tables) $cfgServers[$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? $cfgServers[$i]['user'] = 'root'; // MySQL user $cfgServers[$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type) $cfgServers[$i]['only_db'] = ''; // If set to a db-name, only thanks ----- Original Message ----- From: "Stephen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > To: "Iguider" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php