Ad block is installed and active. Please support us by disabling it.
HomeFriday, April 20, 2018, 19:49:26
32

How to set up password for phpMyAdmin in Wamp Server

Sunday, January 31, 16, 04:00:11, 2 Yaers Ago Via wain, Hits: 6264
Password for phpMyAdmin in Wamp
1. Make sure this code is in your C:wamp/apps/phpmyadmin/config.inc.php

Code:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';


2. Left-click on the green WAMP icon.

3. Select MySQL -> MySQL Concole

http://phpform.net/images/wamp1.png

4. When you get a prompt 'Enter password:', press Enter.

http://phpform.net/images/wamp2.png

5. When you get a prompt mysql>, type:
Code:
set password for [email protected]=PASSWORD('testpass');


http://phpform.net/images/wamp3.png

6. Hit Enter:

http://phpform.net/images/wamp4.png

7. In config.inc.php replace this code

Code:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';


with this code:

Code:
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'testpass';


8. Restart WAMP

Sign In

Sponsor

Related

PHP highlight_string - PHP Tutorial

Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP. Requirement(s): PHP Server.

Upload Image with PHP [Example2]

[Example2] Tutorial - How to upload and resize image with PHP

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

PHP filesize

The filesize function returns the size of the specified file.

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

Preventing multiple form submissions

Preventing multiple form submissions

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.

Link Base L.1.1.

This script allows you to manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links. The script is easy to customize to suit your needs.

PHP Date Examples

Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.

Filter Words in PHP - PHP Tutorial

Filter bad words in PHP, requirement(s): PHP server
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sun, Mar 18, 18
So far has created 115 entries.
wain
This author has not yet filled in any details.