Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

phpMyAdmin 2.8.2 setup

Posted on 2006-07-06
4
Medium Priority
?
2,837 Views
Last Modified: 2013-12-12
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
Comment
Question by:nphoenix
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 750 total points
ID: 17057050
Copy

./libraries/config.default.php

to

./config.inc.php

and then edit ./config.inc.php as appropriate.
0
 

Author Comment

by:nphoenix
ID: 17057883
This worked. Any suggestion or concern on why the scripts/setup.php failed?
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 17057908
I believe you have to do the configuration manually. I've always done it manually, so not sure what's changed.
0
 

Author Comment

by:nphoenix
ID: 17057983
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question