search
HomeDatabaseMysql TutorialDetailed installation of MySQL5.5.27 (pictures and text)

Detailed installation of MySQL5.5.27 (pictures and text)

Sep 08, 2017 pm 02:40 PM
Graphics and textInstall

This article introduces to you the installation tutorial of mysql 5.5.27 in the form of pictures and texts. It is very good and has reference value. Friends who need it can refer to it

1. MYSQL Installation

1. Open the downloaded mysql installation file mysql-5.5.27-win32.zip, double-click to decompress, and run "setup.exe"



2. Select the installation type, including "Typical (default)", "Complete (complete)", and "Custom (user-defined)" Three options, select "Custom", press the "next" key to continue


3. Click "Browse" and manually specify the installation directory


4. Fill in the installation directory. Mine is "F:\Server\MySQL\MySQLServer 5.0". It is recommended not to put it in the same partition as the operating system. This can prevent system backup. When restoring, the data is cleared. Press "OK" to continue.


#Confirm the previous settings. If there are errors, press "Back" to return and redo. Press "Install" to start the installation.



# 5. Installation is in progress, please wait until When the following interface appears, the installation of MYSQL is completed

## 2. MYSQL configuration1. After the installation is completed, the following interface will appear and you will enter the mysql configuration wizard.



2. Select the configuration method, "DetailedConfiguration (manual precise configuration)", "Standard Configuration (standard Configuration)", we select "Detailed Configuration" to facilitate familiarity with the configuration process


3. Select the server type, "DeveloperMachine (development test class, mysql takes up very little Resources)", "Server Machine (server type, mysql occupies more resources)", "Dedicated MySQL Server Machine (specialized database server, mysql occupies all available resources)"

4. Select the general purpose of the mysql database, "MultifunctionalDatabase (general multifunctional, good)", "TransactionalDatabase Only (server type, focused on transaction processing, general)", "Non-Transactional Database Only (non-transactional) , relatively simple, mainly used for monitoring and counting. The support for MyISAM data types is limited to non-transactional). Press "Next" to continue.


5. Select the number of concurrent connections to the website, the number of simultaneous connections, "DecisionSupport (DSS)/OLAP (about 20)", "Online Transaction Processing (OLTP) (about 500)", "Manual Setting (manual setting, enter it yourself) A number)".


6. Whether to enable TCP/IP connection and set the port. If not enabled, you can only access the mysql database on your own machine. On this page, you can also select "Enable Strict Mode" Mode) so that MySQL will not allow minor syntax errors. If you are a newbie, it is recommended that you cancel the standard mode to reduce trouble. But after becoming familiar with MySQL, try to use the standard mode because it can reduce the possibility of harmful data entering the database. Press "Next" to continue


7. Set the default database language encoding of mysql (important). Generally, UTF-8 is selected. Press "Next" to continue.


8. Choose whether to install mysql as a windows service. You can also specify ServiceName (service identification name) and whether to add the bin directory of mysql to WindowsPATH (add After that, you can directly use the file under bin without pointing out the directory name. For example, to connect, "mysql.exe-username -ppassword;" is enough. You don't need to point out the full address of mysql.exe, which is very convenient). I have all of them here When checked, ServiceName remains unchanged. Press "Next" to continue.


#9. Ask if you want to change the password of the default root user (super administrator). "Enable root access from remote machines (whether to allow root users to log in on other machines, if you want security, don't check it, if you want convenience, check it)". Finally, "Create An Anonymous Account (create a new anonymous user, anonymous users can connect to the database, but cannot operate data, including queries)". Generally, there is no need to check it. After the settings are completed, press "Next" to continue.


10. Confirm that the settings are correct, and press "Execute" to make the settings take effect. This completes the installation and configuration of MYSQL.



Note: After the setting is completed, there is a common error after pressing "Finish", that is, it cannot be " Startservice" usually appears on servers where MySQL has been installed before. The solution is to first ensure that the previously installed MySQL server is completely uninstalled; if not, check whether the previous password has been modified as mentioned in the step above. Follow the instructions above. If it still doesn't work, back up the data folder in the mysql installation directory and delete it. After the installation is completed, delete the data folder generated by the installation, move the backed up data folder back, and then restart the mysql service. , in this case, you may need to check the database and then repair it to prevent data errors.

Solution:

1, uninstall MySQL

2, WindowsXp system Delete the directory C:\Documents and Settings\All Users\Application Data\

windows 7\8\10 operating system. Delete the directory C:\ProgramData\MySQL

3. Just reinstall it.

Summarize

The above is the detailed content of Detailed installation of MySQL5.5.27 (pictures and text). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
MySQL String Types: Storage, Performance, and Best PracticesMySQL String Types: Storage, Performance, and Best PracticesMay 10, 2025 am 12:02 AM

MySQLstringtypesimpactstorageandperformanceasfollows:1)CHARisfixed-length,alwaysusingthesamestoragespace,whichcanbefasterbutlessspace-efficient.2)VARCHARisvariable-length,morespace-efficientbutpotentiallyslower.3)TEXTisforlargetext,storedoutsiderows,

Understanding MySQL String Types: VARCHAR, TEXT, CHAR, and MoreUnderstanding MySQL String Types: VARCHAR, TEXT, CHAR, and MoreMay 10, 2025 am 12:02 AM

MySQLstringtypesincludeVARCHAR,TEXT,CHAR,ENUM,andSET.1)VARCHARisversatileforvariable-lengthstringsuptoaspecifiedlimit.2)TEXTisidealforlargetextstoragewithoutadefinedlength.3)CHARisfixed-length,suitableforconsistentdatalikecodes.4)ENUMenforcesdatainte

What are the String Data Types in MySQL?What are the String Data Types in MySQL?May 10, 2025 am 12:01 AM

MySQLoffersvariousstringdatatypes:1)CHARforfixed-lengthstrings,2)VARCHARforvariable-lengthtext,3)BINARYandVARBINARYforbinarydata,4)BLOBandTEXTforlargedata,and5)ENUMandSETforcontrolledinput.Eachtypehasspecificusesandperformancecharacteristics,sochoose

How to Grant Permissions to New MySQL UsersHow to Grant Permissions to New MySQL UsersMay 09, 2025 am 12:16 AM

TograntpermissionstonewMySQLusers,followthesesteps:1)AccessMySQLasauserwithsufficientprivileges,2)CreateanewuserwiththeCREATEUSERcommand,3)UsetheGRANTcommandtospecifypermissionslikeSELECT,INSERT,UPDATE,orALLPRIVILEGESonspecificdatabasesortables,and4)

How to Add Users in MySQL: A Step-by-Step GuideHow to Add Users in MySQL: A Step-by-Step GuideMay 09, 2025 am 12:14 AM

ToaddusersinMySQLeffectivelyandsecurely,followthesesteps:1)UsetheCREATEUSERstatementtoaddanewuser,specifyingthehostandastrongpassword.2)GrantnecessaryprivilegesusingtheGRANTstatement,adheringtotheprincipleofleastprivilege.3)Implementsecuritymeasuresl

MySQL: Adding a new user with complex permissionsMySQL: Adding a new user with complex permissionsMay 09, 2025 am 12:09 AM

ToaddanewuserwithcomplexpermissionsinMySQL,followthesesteps:1)CreatetheuserwithCREATEUSER'newuser'@'localhost'IDENTIFIEDBY'password';.2)Grantreadaccesstoalltablesin'mydatabase'withGRANTSELECTONmydatabase.TO'newuser'@'localhost';.3)Grantwriteaccessto'

MySQL: String Data Types and CollationsMySQL: String Data Types and CollationsMay 09, 2025 am 12:08 AM

The string data types in MySQL include CHAR, VARCHAR, BINARY, VARBINARY, BLOB, and TEXT. The collations determine the comparison and sorting of strings. 1.CHAR is suitable for fixed-length strings, VARCHAR is suitable for variable-length strings. 2.BINARY and VARBINARY are used for binary data, and BLOB and TEXT are used for large object data. 3. Sorting rules such as utf8mb4_unicode_ci ignores upper and lower case and is suitable for user names; utf8mb4_bin is case sensitive and is suitable for fields that require precise comparison.

MySQL: What length should I use for VARCHARs?MySQL: What length should I use for VARCHARs?May 09, 2025 am 12:06 AM

The best MySQLVARCHAR column length selection should be based on data analysis, consider future growth, evaluate performance impacts, and character set requirements. 1) Analyze the data to determine typical lengths; 2) Reserve future expansion space; 3) Pay attention to the impact of large lengths on performance; 4) Consider the impact of character sets on storage. Through these steps, the efficiency and scalability of the database can be optimized.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools