Ad block is installed and active. Please support us by disabling it.
HomeSunday, December 17, 2017, 04:24:18
30

How to set up password for phpMyAdmin in Wamp Server

Sunday, January 31, 16, 04:00:11, 2 Yaers Ago Via wain, Hits: 3466
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 root@localhost=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

MySQL Basic Functions

MySQL Basic Functions - select, delete, update..

PHP $_GET Function

Get function in PHP

PHPBB3 Shoutbox

Vesion: 1.1. Released: 08/08/10, Licence GNU, Price: Free

Create dynamic Web Pages with PHP & MySQL

Create dynamic Web Pages with PHP & MySQL, Requirement(s): PHP Server, MySQL

Captcha V2 - Free PHP Script

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

Creating a CAPTCHA with PHP :: PHP Tutorial

Captcha Image, This tutorial will show you how to create a form with Captcha.

Contact Us PHP Form 1.1.

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website.

PHP Jquery Form

PHP Jquery Form allow your visitors to contact you directly from your website.

Meta Tags Generator 1.1. PHP Script

This script will allow your visitors to create meta tags online.

Process Form Data with Jquery

jQuery, Process form data
About Author

wain

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