![]() |
any PHP,Phpmyadmin and mysql experts here?
Hi,
I'm used to using ORACLE and just trying out MYSQL, PHP and phpmyadmin. I went for one of the all-in-one options wamp1.7.4. I can access mysql and my database if I use the mysql console. I'm now trying to configure phpmyadmin to use mysql but getting error messages. I open http://localhost/phpmyadmin/scripts/setupphp and enter in mysql root username and password and then create the config file. I then place the config file into the root directory. I then open http://localhost/phpmyadmin/index.php. I then get the following error message Mysql says: #1045 - Access denied for user 'root'@'localhost' (using password: NO) I'm using win xp with sp2. Hopefully someone can help me. Many Thanks. |
Re: any PHP,Phpmyadmin and mysql experts here?
The MYSQL password is different than the Root password.. Which method are you using for phpmyadmin's authentication..as the latest ones have lots...
|
Re: any PHP,Phpmyadmin and mysql experts here?
Have a look at www.abyssunderground.co.uk for some tutorials (if on Windows). It may not be for your web server but the installation is the same.
|
Re: any PHP,Phpmyadmin and mysql experts here?
Quote:
I'm using "Config" as the Authentication type I'm using phpmyadmin 2.11.2.1 |
Re: any PHP,Phpmyadmin and mysql experts here?
Quote:
Like this: >mysql -u root -p And then it will prompt you for the password. |
Re: any PHP,Phpmyadmin and mysql experts here?
The only thing I typed after I clicked Add server was the password. I then clicked Add and the nsave to create the config file.
|
Re: any PHP,Phpmyadmin and mysql experts here?
Try logging out and logging back in with the command I put in above.
|
Re: any PHP,Phpmyadmin and mysql experts here?
Quote:
---------- Post added at 19:40 ---------- Previous post was at 19:37 ---------- Quote:
can I run that from cmd.exe? |
Re: any PHP,Phpmyadmin and mysql experts here?
Avoid using config as your auth type, its insecure. All it takes is someone to know your phpmyadmin URL and they have access to your database. Use cookie authentication as that way you have to enter the password each time you access the it.
|
Re: any PHP,Phpmyadmin and mysql experts here?
It depends on what you are trying to do and where you are trying to do it. I don't know exactly where you are in the installation.
If you type this into the DOS window. mysql -u root -p It will prompt you for the MySQL root password and then log you in to the MySQL console (which is just like the Oracle one AFAICR) |
Re: any PHP,Phpmyadmin and mysql experts here?
Quote:
Post your config.inc.php (obviously editing out your username/password and blowfish if you have one set) |
Re: any PHP,Phpmyadmin and mysql experts here?
Edit: Just re-reading your first post, you're getting it through the browser. You must have missed a step where you needed to put your password somewhere.
|
Re: any PHP,Phpmyadmin and mysql experts here?
I Abyss I changed it to Cookie but I'm still getting the same message.
when I clicked on Add after input the password and before clicking save I got the following meesages at the top: You didn't set phpMyAdmin database, so you can not use all phpMyAdmin features. New server added Blowfish secret generated You did not have configured blowfish secret and you want to use cookie authentication so I generated blowfish secret for you. It is used to encrypt cookies. |
Re: any PHP,Phpmyadmin and mysql experts here?
Your config file for cookie auth should look like this (obviously I've editted out my password/username/blowfish
Code:
<?php |
Re: any PHP,Phpmyadmin and mysql experts here?
Quote:
I have logged into mysql and created a database and table. I also ran some insert,select,update statements from the mysql console which is an opion on the wamp menu. ---------- Post added at 19:55 ---------- Previous post was at 19:53 ---------- this is my config file I edited the blowfish part. Code:
<?phpI followed Abysses How-to http://www.abyssunderground.co.uk/in...phpmyadmin.php and change the config as described in the walk through but it still not working. I copied and the default config file in the Libraries folder to the /phpadmin/ folder as per the How-To. I then changed the following lines Code:
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/'; |
| All times are GMT +1. The time now is 12:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum