New to web servers
Posted by: andman (---.swgfl.ifl.net)
Date: July 11, 2006 10:03AM

Hi.

I'm having a problem with the phpmyadmin that came with WAMP5.

There is no login screen.

As long as there is a passwordless account, it goes straight to the main page. If there isn't a passwordless account, it can't load and I have to install WAMP5.

Anybody know what I need to do?



If Joss Keeps Flying,
We'll Keep Watching.
[fireflyfans.net]

Options: ReplyQuote
Re: New to web servers
Posted by: yfastud (72.236.169.---)
Date: July 11, 2006 01:29PM

For setup password, need to change it in TWO PLACES:

1. Set password in Privilleges in phpMyAdmin from your Browser/Localhost.
Goto: localhost/phpmyadmin/
click on "Privileges" link
click on "edit Privileges" link for ROOT user
and set-up your password (change password) and click go

2. Set password in config.inc.php in /wamp/phpmyadmin.
Find and put your password in this line:
$cfg['Servers'][$i]['password'] = 'Your_new_password_here'; // MySQL password (only

Also, if like to set the permission to access PHPmyadmin and SQLitemanager (credited to Joshua), so only local network users can access it through Localhost or Alias, and of course it's only useful if your sites accessible worldwide; otherwise, use htaccess and htpasswrd.

1. open httpd.conf in /wamp/Apache2/conf

2. find the lines
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>

3. after the </directory> line above add the following:

<Directory "C:/Internet/wamp/www/phpmyadmin">
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>

<Directory "C:/Internet/wamp/www/sqlitemanager">
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>

4. change location of the directories as your might be different from "C:/Internet/wamp/www/phpmyadmin"

Also in Alias folder (/wamp/Apache2/conf/alias), replace these lines in phpmyadmin.conf and splitemanager.conf:

Order allow,deny
Allow from all

By these lines:

Order deny,allow
Deny from all
Allow from 127.0.0.1

Hope this help

Options: ReplyQuote


Sorry, only registered users may post in this forum.