Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2842
  • Last Modified:

phpMyAdmin 2.8.2 setup

I am new to php, i installed mysql to use with dotproject.net. I want to add phpMyAdmin, I unzipped it and created a subfolder from my current site named phpMyAdmin.

On my win2k box with iis I set iuser to have read write for all folders and try to run phpmyadmin/scripts/setup.php. I enter root user and password. It created an empty config.inc.php file now that i manually created a phpMyAdmin\config subfolder.

setup.php tells me after save:
You didn't set phpMyAdmin database, so you can not use all phpMyAdmin features.
Remember to protect your installation while using config authentication method!
Changed server localhost (config:root) [1]

phpmyadmin/index.php tells me:
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

Error
MySQL said:  

#1045 - Access denied for user 'root'@'localhost' (using password: NO)



is there a sample config.inc.php i should manually edit? When install instructions say "Look at
    libraries/config.default.php how these fields should be defined" does this mean simply copy and rename config.default.php to config.inc.php and edit it to have a valid file?
0
nphoenix
Asked:
nphoenix
  • 2
  • 2
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
Copy

./libraries/config.default.php

to

./config.inc.php

and then edit ./config.inc.php as appropriate.
0
 
nphoenixAuthor Commented:
This worked. Any suggestion or concern on why the scripts/setup.php failed?
0
 
Richard QuadlingSenior Software DeverloperCommented:
I believe you have to do the configuration manually. I've always done it manually, so not sure what's changed.
0
 
nphoenixAuthor Commented:
Thanks again - i am new to PHP , the docs said run /scripts/setup.php which does ask the right questions but in my case it creates an empty config.inc.php. Ok i'm over it . Thanks for your help.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now