HomeSaturday, August 18, 2018, 20:19:30
33

How to set up password for phpMyAdmin in Wamp Server

Sunday, January 31, 16, 04:00:11, 3 Yaers Ago Via wain, Hits: 6925
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

Captcha V2 - Free PHP Script

PHP Captcha protection image Version 2, - Requirement(s): PHP Server, GD Library

PHP Form Action Self Submit

PHP form action self submit tutorial, requirement(s): PHP server

Filter Words in PHP - PHP Tutorial

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

PHP $_GET Function

Get function in PHP

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

Sitemap

phpForm.net Website Sitemap

Adsense crawler errors and robots.txt

How to fix Google AdSense crawler errors in robots.txt

PHP Form Validation

PHP form validation :: PHP tutorial, requirement(s): PHP Server

Captcha V1 - Free PHP Script

An anti-spam form protection image written in PHP, Version: 1.1.

Getimagesize

Getimagesize function will determine the size of any given image file and return the dimensions along with the file type and a height/width text string to be used inside a normal HTML IMG tag and the correspondant HTTP content type.
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.