国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Table of Contents
phpmyadmin installation tutorial phpmyadmin installation configuration
Home Backend Development PHP Tutorial phpmyadmin installation tutorial phpmyadmin installation configuration_PHP tutorial

phpmyadmin installation tutorial phpmyadmin installation configuration_PHP tutorial

Jul 13, 2016 am 10:12 AM
phpmyadmin how Install how Tutorial friend Configuration

phpmyadmin installation tutorial phpmyadmin installation configuration

How to install phpmyadmin? Some friends may not know how to install phpmyadmin. The following Green Tea editor will introduce the phpmyadmin installation and configuration tutorial in detail. Friends in need can quickly refer to it!

phpmyadmin is a mysql management tool. After installing this tool, you can directly manage mysql data through the web without the need to execute system commands. It is very suitable for database managers who are not familiar with database operation commands.

PHPMyAdmin installation configuration:

1. Generally, the PHPMyAdmin downloaded from the Internet is a compressed package. We release it into the htdocs directory, such as htdocsphpmyadmin.

2. Open the phpmyadmin directory and check if there is a config.sample.inc.php file in this directory. If it exists, rename it to config.inc.php. (Depending on the version, there may be a config.inc.php file directly, so there is no need to change the name. There may also be no config.sample.inc.php or config.inc.php at all. Then we will go to the phpmyadminlibraries directory and change the config. .default.php is copied to the phpmyadmin directory and renamed config.inc.php).

3. Open the config.inc.php file (you can use WordPad) and find $cfg['blowfish_secret']=''; and $cfg['Servers'][$i]['auth_type']=' cookie';, if the value of $cfg['Servers'][$i]['auth_type'] is cookie as seen earlier, then we must put quotes in $cfg['blowfish_secret']='' Write any string of characters into it, and you can understand it as an identity verification code. For example $cfg['blowfish_secret']='sunec'. Save and exit.

At this point, the installation and configuration of phpmyadmin is over. Enter the browser and enter http://localhost/phpmyadmin/main.php in the address bar. (The path here is based on the directory name where you unzipped phpmyadmin in htdocs. Determined), if everything goes well, a screen for you to enter your username and password should appear on the page. Enter your username and password (Mysql username and password), and then enter the main interface of phpmyadmin. As for how to use it, I won’t go into it here for the time being. You can explore it yourself first~

How to install this tool:

1. First download phpmyadmin from the Internet, and then decompress it to an accessible web directory (if it is a virtual space, you can decompress it and upload it to the web directory through ftp, etc.). Of course, you can modify the name of the decompressed file.

 2. Configure config file

Open the config.default.php file under libraries, find the following items in order, and configure them according to the instructions:

A. Visit the website

 $cfg['PmaAbsoluteUri'] = '';Fill in the access URL of phpmyadmin here

B.mysql host information

 $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address

Fill in the IP address of localhost or the server where mysql is located. If mysql and the phpmyadmin are on the same server, press the default localhost

 $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port

MySQL port, if it is the default 3306, just leave it empty

 C.mysql username and password

 $cfg['Servers'][$i]['user'] = 'root'; // MySQL username used by MySQL user to access phpmyadmin

 fg['Servers'][$i]['password'] = ''; // MySQL password (only neededThe password corresponding to the above mysql user name

D. Authentication method

 $cfg['Servers'][$i]['auth_type'] = 'cookie';

There are four modes to choose from, cookie, http, HTTP, config

The config method is to enter the access URL of phpmyadmin to enter directly without entering the user name and password. It is unsafe and not recommended.

When this item is set to cookie, http or HTTP, logging in to phpmyadmin requires a data username and password for verification, as follows:

PHP installation mode is Apache, you can use http and cookies;

PHP installation mode is CGI, cookies can be used

E. Phrase password (blowfish_secret) settings

$cfg['blowfish_secret'] = '';

If the authentication method is set to cookie, you need to set a phrase password. It is up to you to decide what password to set, but it cannot be left blank, otherwise an error will be prompted when logging in to phpmyadmin

Okay, so far, you have successfully installed phpmyadmin, it’s easy :), log in to experience it.

Configuration

3. Open the /libraries/config.default.php file (the old version is the config.inc.php file in the root directory), edit it with WordPad (do not use Notepad, this is UTF8 encoding), and follow the instructions Just configure it.

4. Find $cfg['PmaAbsoluteUri']=''; // Change it to the URL of phpMyAdmin that you will upload to the space

For example: $cfg['PmaAbsoluteUri'] ='http: // Website domain name/phpmyadmin/';

5. Search $cfg['Servers'][$i]['host'] ='localhost'; // Usually the default is used, there are exceptions, no need to modify it

6. Find $cfg['Servers'][$i]['auth_type'] ='config'; // Use config for debugging on your own machine; if you are on the network, use cookies.

There are four modes to choose from: cookie, http, HTTP, config

?、?The config method is to enter the access URL of phpMyAdmin to enter directly without entering the user name and password. It is unsafe and not recommended.

?、?Set cookie, http, HTTP method, log in to phpMyAdmin and need data user name and password for verification.

The details are as follows: PHP installation mode is Apache, you can use http and cookies; PHP installation mode is CGI, you can use cookies.

7. Search $cfg['Servers'][$i]['user'] = 'root'; // MySQL user name

8. Search $cfg['Servers'][$i]['password'] =''; // MySQL password (only needed, just leave it blank)

9. Find $cfg['Servers'][$i]['only_db'] = ''; // If you only have one data, set it to your database name; if you want to set up a server, then It is recommended to leave it blank

10. Search $cfg['DefaultLang'] = 'zh'; // Here is the language selection, zh represents Simplified Chinese

11. Find $cfg['blowfish_secret'] =''; // If the authentication method is set to cookie, you need to set a phrase password. It is up to you to decide what password to set. You cannot leave it blank here, otherwise it will fail when logging in. An error will be prompted when using phpMyAdmin.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/919976.htmlTechArticlephpmyadmin installation tutorial phpmyadmin installation configuration How to install phpmyadmin? Some friends may not know how to install phpmyadmin. Below is Green Tea The editor will give you a detailed introduction to phpmyadmin installation...
Statement of this Website
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

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

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.

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 Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

PHP Tutorial
1502
276
Getting Started: Installing Notepad   for Beginners Getting Started: Installing Notepad for Beginners Apr 29, 2025 am 12:25 AM

The steps for installing and initial use of Notepad are as follows: 1) Visit notepad-plus-plus.org to download the appropriate version; 2) Double-click the installation file and install it as prompts; 3) Start Notepad, create a new file and enter text; 4) Save the file and select the file type; 5) Write and run a simple Python program, such as print("Hello,Notepad !"). Through these steps, you can start programming with Notepad smoothly.

How to export data in phpMyAdmin? Supports multiple format selection How to export data in phpMyAdmin? Supports multiple format selection Jun 04, 2025 pm 09:00 PM

When using phpMyAdmin to export MySQL database, you should choose the appropriate format according to your purpose. 1. The correct way to enter the export page is to click on the database or table name and select the "Export" tab in the top menu bar. If you need to export multiple tables, you can check it first before operating; 2. Common export formats include SQL (for backup or migration), CSV (for table tool opening), Excel (for non-technical personnel viewing), JSON (for interface debugging), and XML (for structured data exchange); 3. Select the format according to the purpose: SQL is suitable for migrating databases, CSV or Excel is suitable for business personnel viewing, JSON is suitable for front-end and back-end interaction, XML is suitable for specific system imports, and some formats support setting separators

How to generate a relationship diagram in phpMyAdmin? Visualize the database structure How to generate a relationship diagram in phpMyAdmin? Visualize the database structure Jun 04, 2025 pm 09:06 PM

To enable the "Relational View" function of phpMyAdmin, you must first make sure that there is a configuration table in the database. The specific steps are as follows: 1. Log in to phpMyAdmin and select the target database; 2. Click "Settings" at the top to enter the configuration interface; 3. Click "Create the required relationship table" in the "Affiliation/Relation View" section, and the system will automatically generate necessary tables such as pma__relation; 4. After completion, you can generate a chart by clicking "Relation View". Note when generating a relationship diagram: Foreign key constraints must be defined, otherwise the association cannot be automatically recognized. If there are many tables that cause confusion, you can choose to manage multiple pages in key tables or group them. Without foreign keys, the graph cannot be generated automatically. It is recommended to use foreign keys in a standardized manner or use other tools. Remember after adjusting the layout

How to modify table structure in phpMyAdmin? Adjust fields and types How to modify table structure in phpMyAdmin? Adjust fields and types Jun 04, 2025 pm 09:18 PM

The operation of modifying the table structure in phpMyAdmin mainly includes the following steps: 1. Enter the "Structure" page of the target database and table; 2. Click the "Change" button of the field to edit; 3. Modify the field name, type, length, whether it is allowed to be empty; 4. Adjust the field order or add new fields; 5. Confirm data compatibility and application layer logic before saving. When modifying, special attention should be paid to the compatibility of primary keys, index fields and existing data to avoid index failure or data loss. It is recommended to back up data before operation.

Solve the encoding problem that occurs when PHPMyAdmin imports data Solve the encoding problem that occurs when PHPMyAdmin imports data May 19, 2025 pm 05:51 PM

To solve the encoding problem when importing data by PHPMyAdmin, you need to ensure that the import file and database encoding are consistent. The specific steps include: 1. Use the set_charset method to set the connection character set to utf8mb4; 2. Ensure that the SQL file is encoded in UTF-8 without BOM format; 3. Add SETNAMESutf8mb4 and other statements to set the session character set; 4. Handle the settings of special characters in the SQL file and database default character sets.

Solve the problem of data type mismatch when PHPMyAdmin imports data Solve the problem of data type mismatch when PHPMyAdmin imports data May 19, 2025 pm 05:48 PM

When importing data using PHPMyAdmin, data type mismatch can be solved through the following steps: 1. Check the SQL file and database table structure to ensure that the data types are consistent. 2. If the types do not match, you can modify the import file or adjust the database table field type. 3. Process null or NULL values ??and convert them before importing if necessary. 4. Use the "Replace Table" option to import, but need to back up the database. 5. Import large data volumes in batches to optimize performance. 6. Pre-check data type matching to avoid import errors. Through these methods, the data type mismatch problem can be effectively solved and the import can be smoothly carried out.

How to manage user permissions with phpMyAdmin? Ensure database security How to manage user permissions with phpMyAdmin? Ensure database security Jun 04, 2025 pm 08:57 PM

The key to managing user permissions with phpMyAdmin is to assign on demand and review regularly. 1. Enter the "User Account" interface of the top menu to view or manage the user list; 2. After filling in the user name and password when creating a user, check global, database or table-level permissions according to your needs in the permission settings to avoid giving "all permissions"; 3. Click "Edit Permissions" when modifying existing user permissions, cancel unnecessary operations such as DROP or DELETE, and be sure to click "Execute" to save; 4. Regularly check whether there are redundant accounts, excessive permissions or simple passwords for user accounts, and clean and adjust them in time to ensure security. Rationally configuring permissions can effectively improve database security.

PHPMyAdmin checks execution time and performance analysis after executing SQL statements PHPMyAdmin checks execution time and performance analysis after executing SQL statements May 21, 2025 pm 10:03 PM

In PHPMyAdmin, the performance of SQL statements can be analyzed by viewing execution time and using the EXPLAIN command. 1. After executing the query, check the execution time in the "Queryresultsoperations" section. 2. Use the EXPLAIN command (such as EXPLAINSELECT*FROMusersWHEREid=1;) to view the execution plan to understand the execution path and performance bottlenecks of the query.

See all articles