Forum Moderators: coopster

Message Too Old, No Replies

error in phpmyadmin

cant log in

         

esha_salz

5:48 am on Sep 23, 2004 (gmt 0)

10+ Year Member



This is what i get when i start up my apache server
[localhost...]

Welcome to phpMyAdmin 2.3.2
Error
MySQL said:
Access denied for user: 'root@127.0.0.1' (Using password: NO)

What do i do?

Salz

Timotheos

3:45 pm on Sep 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Salz,

You told me before that you can log in to mysql at the command prompt. Is that username/password different then what you have in the setup for phpmyadmin?

Tim

esha_salz

2:29 am on Sep 24, 2004 (gmt 0)

10+ Year Member



Nope.. the user name & password is still the same.. Aiyaiyai!

esha_salz

2:35 am on Sep 24, 2004 (gmt 0)

10+ Year Member



This is wat i get

Warning: Access denied for user: 'root@127.0.0.1' (Using password: NO) in c:\phpdev\forum\sources\Drivers\mySQL.php on line 61

Warning: MySQL Connection Failed: Access denied for user: 'root@127.0.0.1' (Using password: NO) in c:\phpdev\forum\sources\Drivers\mySQL.php on line 61

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in c:\phpdev\forum\sources\Drivers\mySQL.php on line 64
ERROR: Cannot find database invision
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\phpdev\forum\sources\Drivers\mySQL.php on line 87

mySQL query error: DELETE FROM ibf_sessions WHERE running_time < 1095989502 or ip_address='127.0.0.1'

mySQL error: Access denied for user: 'root@127.0.0.1' (Using password: NO)
mySQL error code: 1045
Date: Friday 24th of September 2004 10:31:42 AM

There appears to be an error with the phpdev > IBForums database.

This is c:\phpdev\forum\sources\Drivers\mySQL.php

[edited by: ergophobe at 3:20 pm (utc) on Sep. 24, 2004]
[edit reason] snipped code dump. Please read forum charter [/edit]

Timotheos

5:08 am on Sep 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh Salz,

So looks like you tried to start the Invision forum with not much success. For the moment lets stick with getting phpmyadmin going.

When you start Apache are you using the batch file that came with phpdev?
C:\phpdev\2K-NT-XP-phpdev_start.bat
(There's a different one for Win98/ME systems)

Are you sure you didn't change any of the user setting? User root with no password is the default. So why wouldn't that work?

Does you c:\phpdev\phpmyadmin\config.inc.php file have this line?
$cfg['Servers'][$i]['host'] = 'localhost';

Tim

esha_salz

7:15 am on Sep 24, 2004 (gmt 0)

10+ Year Member



got it up & running..
The password part was empty.. so couldnt log in..
Thank you