HomeMonday, June 18, 2018, 15:25:28
33

How to set up password for phpMyAdmin in Wamp Server

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

Email to Friend - PHP Script

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

Captcha V2 - Free PHP Script

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

Link Base 2.0.

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.

Preg_Match - PHP Email Validation

Validate email with preg_match in php

FeedBack Form with Captcha

It allows your visitors to send you an email directly from your website.

Show / Hide Div with CSS

CSS Display and Visibility:The visibility property specifies whether or not an element is visible.

PHP File Create

Create and write data to a file using the php frwite function.

Advanced Contact Form - PHP Script

Advanced Contact Form with email and form field validation. Features: HTML Output(Response), Captcha Image.

PHP Mail

Sends an email.

Preg_Match - PHP Form Validation

PHP form validation with preg_match
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.