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

Home Backend Development PHP Tutorial phpmyadmin operation process_PHP tutorial

phpmyadmin operation process_PHP tutorial

Jul 21, 2016 pm 04:08 PM
mysql phpmyadmin client operate database yes process user of software Remotely connect


phpmyadmin is a client software used to remotely connect to a MySQL database. Users can refer to the following
steps to configure the phpmyadmin software:

Please download the phpmyadmin.rar file to your local computer;

Use winrar to decompress the file and generate a phpmyadmin directory;

Please use notepad and other software on the local host to edit the file config.inc.php in the phpmyadmin directory (add customer database link information ), modify the following settings:
$cfgServers[1]['host'] = 'localhost'; (The system default host name is 'localhost
does not need to be modified)
$cfgServers[1][ 'user'] = 'Database administrator name';
$cfgServers[1]['password'] = 'Password';
$cfgServers[1]['only_db'] = 'Database (database administrator) name_db)';
After the modification is completed, save the config.inc.php file;

After modifying the configuration file, upload the phpmyadmin directory and all the files in the directory to the customer via ftp
Under the directory of the website; (It is best to change the name slightly, so that others can not modify your data casually)

Type 'http://your domain name/phpmyadmin' in the browser. Can manage and create customer's MySQL
database.

Use PHPMYADMIN to manage MYSQL database
1. After you create your database (or the database name given to you by the service provider), click to select it, and then click "Manage this database", you will enter The web management interface of the database,
can create tables, manage content, etc.;


2. Double-click your database, the data table in the database will be displayed, and at the same time, in the right half of the screen The operation section will display the operations of each data table:
3. You can operate each table according to the prompts in the right half;

Browse: All records in the data table can be displayed;
Select : is to display the records in the data table based on conditions. You can enter certain query conditions here. The system will
display the corresponding records according to the query conditions you entered;
insert: is to add a record;
attribute : You can change the attributes of each field in the data table, add indexes and other operations;
Discard: delete this data table. Note that it cannot be restored after deletion, and do not delete it easily;
Clear: means Delete all records in the data table

Run the SQL statement in the database specified below:

refers to entering the standard SQL statement, which can be operated according to your SQL statement; you can also choose your local SQL statement file, and then
click the "Start" button to proceed;


4. There are four options to view the structure and summary information of the database
1) Only Select structure: It does not contain data, it is just the structure of the data table, and it is displayed on the screen
2) Structure and data: It refers to the structure and data content of the data table,
3) Send: It only sends the system The contents are output to a file.


5. Create a new data table:
Name: refers to the name of the newly created data table
Fields: refers to the number of fields contained in the newly created data table

Click the "Start" button to enter the new interface. Enter the name and type of each field. After completing the input, click "Save" and the system will
automatically return to the previous interface;

6. Discard the database: This refers to deleting the database. Please do not operate it at will to avoid problems;


7. Above we talked about the operation of the database, below we will operate on a data in a database Table operations describe the role of PhpAdmin;


8. Double-click a data table in the database, and the structure of the data table will be displayed in the right half of the screen;


9. The page displays the properties of this data table. In the operation column, there are:
1) Change: refers to changing the name of this field
2) Discard: refers to deleting this field
3) Key name : Refers to whether to change this field to the primary key
4) Index: Refers to index data records according to this field
5) Unique: The content of this field is unique in the data table, and there are no duplicate records;


10. Browse: refers to displaying records; selection: refers to entering query conditions and querying records according to your query conditions; insert: adding a record;


11. Reading data from a text file: refers to importing a local text file into this data table. Regarding the format of the text file, you can use spaces
or semicolon, etc.;


12 . Check the structure information of the data table: you can send the structure or structural data record of the data table to the screen or a standard file to
facilitate your data backup;


13 . Change the name of the data table: It means to change this data table to a new data table name;


14. Copy the data table: It means to create a data table that is the same as this data table.

About the backup and recovery issues of vbb forum data! ! !
When I used it myself, I didn’t know how to do it, so I encountered many problems for many years. Now I finally know how to do it. I will write an explanation and share my experience with you!
1. You need to be able to use Myphpadmin. It is a very good tool. Most spaces that support mysql are installed for you, so you can use it directly. For its installation and use, please refer here:
http://www.im286.com/showthread.php?s=&threadid=46001

You can also check it out at Juba.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VBB is a very excellent PHP+MYSQL forum. The Laggard Forum has been using VBB since its establishment. But for most users, MYSQL backup is a troublesome problem because most space providers do not provide permissions for remote connection to the database. At the same time, the PHP program takes 30 seconds to run. Limitation, making the backup of a slightly larger MYSQL database a very troublesome problem. Based on the data backup experience of the Laggard Forum, Yuxian uses PHPMYADMIN as an example to describe the backup of MYSQL data.

The following contents are all Based on ztsky Chinese VBB 2.20 and phpmyadmin 2.26 version
ztsky Chinese VBB can be downloaded from http://www.chinavbb.com
phpmyadmin can be downloaded from http://sourceforge.net/project/show...elease_id= 85832 Download

VBB 2.29 has a total of access, adminlog, adminutil, announcement, attachment, avatar, bbcode, calendar_events, customavatar, forum, forumermission, icon, moderator, poll, pollvote, post, privatemessage, profilefield, replacement, replacementset, search, searchindex, session, setting, settinggroup, smilie, style, subscribeforum, subscribethread, template, templateset, thread, threadrate, user, useractivation, userfield, usergroup, usertitle, word 43 tables.

Among them Relatively important are the
post and thread tables, used to save forum posts;
poll and pollvote tables, used to save the voting part of the forum - generally not backed up
privatemessage table, used to save messages between users. Whisper ---Generally, all tables starting with
user are not backed up. They are used to save information related to registered users of the forum. ------There are several, and they must be downloaded together.
fourm is used to save forum categories. Without him, your classification is incomplete, so you should also back it up together.


When backing up, you just need to save the important ones above.
Next, let’s restore the forum data.

Enter myphpadmin and restore the backed up data above.

Note: If you have several tables in the restored data, you must first delete the existing tables. , discarded, otherwise there will be no mistakes. For example, if you put several user data together in a zip file, then you need to delete those data together when restoring. This is good!

The above is my own experience in management. If it is good, please support me! ! Please also give your comments and suggestions!

Another way to back up forum data is to back it up directly in the background. In fact, it’s the same! ! !

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/314723.htmlTechArticlephpmyadmin is a client software used to remotely connect to the MySQL database. Users can refer to the following steps to configure the phpmyadmin software: Please You download the phpmyadmin.rar file to your local; use...
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)

Performing logical backups using mysqldump in MySQL Performing logical backups using mysqldump in MySQL Jul 06, 2025 am 02:55 AM

mysqldump is a common tool for performing logical backups of MySQL databases. It generates SQL files containing CREATE and INSERT statements to rebuild the database. 1. It does not back up the original file, but converts the database structure and content into portable SQL commands; 2. It is suitable for small databases or selective recovery, and is not suitable for fast recovery of TB-level data; 3. Common options include --single-transaction, --databases, --all-databases, --routines, etc.; 4. Use mysql command to import during recovery, and can turn off foreign key checks to improve speed; 5. It is recommended to test backup regularly, use compression, and automatic adjustment.

Handling NULL Values in MySQL Columns and Queries Handling NULL Values in MySQL Columns and Queries Jul 05, 2025 am 02:46 AM

When handling NULL values ??in MySQL, please note: 1. When designing the table, the key fields are set to NOTNULL, and optional fields are allowed NULL; 2. ISNULL or ISNOTNULL must be used with = or !=; 3. IFNULL or COALESCE functions can be used to replace the display default values; 4. Be cautious when using NULL values ??directly when inserting or updating, and pay attention to the data source and ORM framework processing methods. NULL represents an unknown value and does not equal any value, including itself. Therefore, be careful when querying, counting, and connecting tables to avoid missing data or logical errors. Rational use of functions and constraints can effectively reduce interference caused by NULL.

Implementing Transactions and Understanding ACID Properties in MySQL Implementing Transactions and Understanding ACID Properties in MySQL Jul 08, 2025 am 02:50 AM

MySQL supports transaction processing, and uses the InnoDB storage engine to ensure data consistency and integrity. 1. Transactions are a set of SQL operations, either all succeed or all fail to roll back; 2. ACID attributes include atomicity, consistency, isolation and persistence; 3. The statements that manually control transactions are STARTTRANSACTION, COMMIT and ROLLBACK; 4. The four isolation levels include read not committed, read submitted, repeatable read and serialization; 5. Use transactions correctly to avoid long-term operation, turn off automatic commits, and reasonably handle locks and exceptions. Through these mechanisms, MySQL can achieve high reliability and concurrent control.

Calculating Database and Table Sizes in MySQL Calculating Database and Table Sizes in MySQL Jul 06, 2025 am 02:41 AM

To view the size of the MySQL database and table, you can query the information_schema directly or use the command line tool. 1. Check the entire database size: Execute the SQL statement SELECTtable_schemaAS'Database',SUM(data_length index_length)/1024/1024AS'Size(MB)'FROMinformation_schema.tablesGROUPBYtable_schema; you can get the total size of all databases, or add WHERE conditions to limit the specific database; 2. Check the single table size: use SELECTta

Handling character sets and collations issues in MySQL Handling character sets and collations issues in MySQL Jul 08, 2025 am 02:51 AM

Character set and sorting rules issues are common when cross-platform migration or multi-person development, resulting in garbled code or inconsistent query. There are three core solutions: First, check and unify the character set of database, table, and fields to utf8mb4, view through SHOWCREATEDATABASE/TABLE, and modify it with ALTER statement; second, specify the utf8mb4 character set when the client connects, and set it in connection parameters or execute SETNAMES; third, select the sorting rules reasonably, and recommend using utf8mb4_unicode_ci to ensure the accuracy of comparison and sorting, and specify or modify it through ALTER when building the library and table.

Setting up asynchronous primary-replica replication in MySQL Setting up asynchronous primary-replica replication in MySQL Jul 06, 2025 am 02:52 AM

To set up asynchronous master-slave replication for MySQL, follow these steps: 1. Prepare the master server, enable binary logs and set a unique server-id, create a replication user and record the current log location; 2. Use mysqldump to back up the master library data and import it to the slave server; 3. Configure the server-id and relay-log of the slave server, use the CHANGEMASTER command to connect to the master library and start the replication thread; 4. Check for common problems, such as network, permissions, data consistency and self-increase conflicts, and monitor replication delays. Follow the steps above to ensure that the configuration is completed correctly.

Connecting to MySQL Database Using the Command Line Client Connecting to MySQL Database Using the Command Line Client Jul 07, 2025 am 01:50 AM

The most direct way to connect to MySQL database is to use the command line client. First enter the mysql-u username -p and enter the password correctly to enter the interactive interface; if you connect to the remote database, you need to add the -h parameter to specify the host address. Secondly, you can directly switch to a specific database or execute SQL files when logging in, such as mysql-u username-p database name or mysql-u username-p database name

Managing Character Sets and Collations in MySQL Managing Character Sets and Collations in MySQL Jul 07, 2025 am 01:41 AM

The setting of character sets and collation rules in MySQL is crucial, affecting data storage, query efficiency and consistency. First, the character set determines the storable character range, such as utf8mb4 supports Chinese and emojis; the sorting rules control the character comparison method, such as utf8mb4_unicode_ci is case-sensitive, and utf8mb4_bin is binary comparison. Secondly, the character set can be set at multiple levels of server, database, table, and column. It is recommended to use utf8mb4 and utf8mb4_unicode_ci in a unified manner to avoid conflicts. Furthermore, the garbled code problem is often caused by inconsistent character sets of connections, storage or program terminals, and needs to be checked layer by layer and set uniformly. In addition, character sets should be specified when exporting and importing to prevent conversion errors

See all articles