Winows Server environment set up (hit the Windows Server, small remember it ~)

Source: Internet
Author: User
Tags phpmyadmin

1. Connect the remote server installation Wamp

2. See if the WAMP default port number conflicts with the corresponding Windows server, and if so, change the

Wamp installed after the default port is 80, but this 80 port, can be popular port Ah, Thunder, IIS are quite like, in WIN7 under the original there are 1 processes also point 80, let people nerve-racking ah, so get rid of it, the method is as follows:

First, modify the Apache listening port

1, select Apache in the interface, Pop-up hidden menu options, open the configuration file httpd.conf; 2, find listen 80 and ServerName localhost:80;

3, change 80 to 801 (of course, you can also set other unused ports, such as 8000, etc.);

4, save, waiting to restart Wamp service can be.

Second, modify Wamp open the default page localhost and phpMyAdmin ports:

1. Open the Wamp directory under the Wampmanager.tpl file

2, find Parameters: "http://localhost/"; Glyph:5 Parameters: "http://localhost/phpmyadmin/"; Glyph:5

3, change into parameters:http://localhost:801/; Glyph:5 Parameters: "http://localhost:801/phpmyadmin/"; Glyph:5

4, save, restart Wamp all services can be. phpMyAdmin use WAMP5 start prompt password error, usually occurs on the machine that has been configured Php+apache, if you remember the password, you can modify the WAMP5 in the default settings of phpMyAdmin in the following way, so that the service is OK. Modify the phpMyAdmin default password: 1, enter the installation drive under Wampapps phpMyAdmin folder 2, open config.inc file 3, find $cfg [' Servers '] [$i] [' user '] = ' root '; $cfg [' Servers '] [$i] [' password '] = ' Fill in your password here '; 4, modify your password, save can.

3. The MySQL service password that you just installed is empty by default, now change the root password

1. Go to MySQL Console

2. Then enter "usemysql", which means using the MySQL database, to reference "database Changed" on the line.

3. Then enter the SQL statement for the password to be modified "update user set Password=password (' Hooray ') where user= ' root '; , note that the semicolon at the end of the SQL statement must not be small, prompting what is OK.

Finally enter "flush Privileges;", do not enter this, the operation of the password change will not take effect.

Then enter "quit" to exit.

4. Modify phpMyAdmin to enter the user name password

Modify Auth_type:http in phpMyAdmin config.inc.php

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.