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

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

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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

Java Tutorial
1666
14
PHP Tutorial
1272
29
C# Tutorial
1251
24
How to adjust the wordpress article list How to adjust the wordpress article list Apr 20, 2025 am 10:48 AM

There are four ways to adjust the WordPress article list: use theme options, use plugins (such as Post Types Order, WP Post List, Boxy Stuff), use code (add settings in the functions.php file), or modify the WordPress database directly.

MySQL and phpMyAdmin: Core Features and Functions MySQL and phpMyAdmin: Core Features and Functions Apr 22, 2025 am 12:12 AM

MySQL and phpMyAdmin are powerful database management tools. 1) MySQL is used to create databases and tables, and to execute DML and SQL queries. 2) phpMyAdmin provides an intuitive interface for database management, table structure management, data operations and user permission management.

Oracle's Role in the Business World Oracle's Role in the Business World Apr 23, 2025 am 12:01 AM

Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.

Explain the purpose of foreign keys in MySQL. Explain the purpose of foreign keys in MySQL. Apr 25, 2025 am 12:17 AM

In MySQL, the function of foreign keys is to establish the relationship between tables and ensure the consistency and integrity of the data. Foreign keys maintain the effectiveness of data through reference integrity checks and cascading operations. Pay attention to performance optimization and avoid common errors when using them.

Compare and contrast MySQL and MariaDB. Compare and contrast MySQL and MariaDB. Apr 26, 2025 am 12:08 AM

The main difference between MySQL and MariaDB is performance, functionality and license: 1. MySQL is developed by Oracle, and MariaDB is its fork. 2. MariaDB may perform better in high load environments. 3.MariaDB provides more storage engines and functions. 4.MySQL adopts a dual license, and MariaDB is completely open source. The existing infrastructure, performance requirements, functional requirements and license costs should be taken into account when choosing.

SQL vs. MySQL: Clarifying the Relationship Between the Two SQL vs. MySQL: Clarifying the Relationship Between the Two Apr 24, 2025 am 12:02 AM

SQL is a standard language for managing relational databases, while MySQL is a database management system that uses SQL. SQL defines ways to interact with a database, including CRUD operations, while MySQL implements the SQL standard and provides additional features such as stored procedures and triggers.

Redis: Understanding Its Architecture and Purpose Redis: Understanding Its Architecture and Purpose Apr 26, 2025 am 12:11 AM

Redis is a memory data structure storage system, mainly used as a database, cache and message broker. Its core features include single-threaded model, I/O multiplexing, persistence mechanism, replication and clustering functions. Redis is commonly used in practical applications for caching, session storage, and message queues. It can significantly improve its performance by selecting the right data structure, using pipelines and transactions, and monitoring and tuning.

How to cancel the editing date of wordpress How to cancel the editing date of wordpress Apr 20, 2025 am 10:54 AM

WordPress editing dates can be canceled in three ways: 1. Install the Enable Post Date Disable plug-in; 2. Add code in the functions.php file; 3. Manually edit the post_modified column in the wp_posts table.

See all articles