MySQL的管理工具:phpMyAdmin_MySQL
phpmyadminmysql管理工具
前言:
所谓的phpMyAdmin简单的说就是一种MySQL的管理工具。
透过此一程式,可以直接从web上去管理MySQL,不需要到系统上去执行。
安装步骤:
1.取得档案ftp://ohaha.ks.edu.tw/pub/source/php/phpMyAdmin_2.0.5.tar.gz或是ftp://ohaha.ks.edu.tw/pub/source/php/c_phpMyAdmin_2.0.5.tar.gz 其中唯一的差别是在於後者不需要再做中文最佳化的动作。
所谓的中文最佳化乃是因为此程式的翻译者可能是大陆的..所以翻译不佳 若你觉得没有关的话,也可以忽略它。
2.我们先采用前者然後再加上中文最佳化。
3.将此档解压缩到web伺服器的文件根目录说明白些也就是你放置网页的地方啦
ex:/usr/local/apache/htdocs/ (这是我网页存放的位置)
a. # mv phpMyAdmin_2.0.5.tar.gz /usr/local/apache/htdocs/ 移到文件的根目录
b. # tar zxvf phpMyAdmin_2.0.5.tar.gz 解压缩phpMyAdmin_2.0.5.tar.gz
c. 路径 /usr/local/apache/htdocs/phpMyAdmin
d. 修改设定档
# vi config.inc.php3
找到下面的部分
$cfgServers[1]['host'] = 'localhost'; // MySQL 的hostname
$cfgServers[1]['port'] = ''; // MySQL 的port 空白表示预设3306
$cfgServers[1]['adv_auth'] = true; // 是否采用进阶功能
$cfgServers[1]['stduser'] = 'root'; // MySQL的管理者
$cfgServers[1]['stdpass'] = '123456'; // MySQL管理者的密码
//我采用root为管理者,密码为123456 你可以采用自己喜欢的
4.测试
开启浏览器,输入http://的网址/phpMyAdmin/done ...
中文最佳化
若你一刚使用的档案是c_phpMyAdmin_2.0.5.tar.gz则没有中文问题的困扰若你是照我的步骤来做的话请取得中文最佳化档(ftp://ohaha.ks.edu.tw/pub/source/php/chinese_big5.inc.php3) 将此档放入的phpMyAdmin的目录之中 他会取代chinese_big5.inc.php3此档若你觉得不太保险的话 你可以先将原有的chinese_big5.inc.php3更名然後将新档案放入
a. mv chinese_big5.inc.php3 chinese_big5.inc.php3.old// 更名为chinese_big5.inc.php3.old
b. mv chinese_big5.inc.php3 /usr/local/apache/htdocs/phpMyAdmin/
小技巧
聪明的你是否发觉上面有什麽不对了呢?如果每个人都照我这样做那麽..是不是每个人的phpMyAdmin的位置都在http://网址/phpMyAdmin这里? 这种情况是可以改变的..只要将phpMyAmin资料夹更名即可。若我想要更名为pma(各取一个字,方便记忆)
a. 路径:/usr/local/apache/htdocs/
b. # mv phpMyAdmin pma
如此别人就无法去解的phpMyAdmin的位置...只剩下你自己知道了...

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

You can open phpMyAdmin through the following steps: 1. Log in to the website control panel; 2. Find and click the phpMyAdmin icon; 3. Enter MySQL credentials; 4. Click "Login".

MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

MySQL is chosen for its performance, reliability, ease of use, and community support. 1.MySQL provides efficient data storage and retrieval functions, supporting multiple data types and advanced query operations. 2. Adopt client-server architecture and multiple storage engines to support transaction and query optimization. 3. Easy to use, supports a variety of operating systems and programming languages. 4. Have strong community support and provide rich resources and solutions.

Redis uses a single threaded architecture to provide high performance, simplicity, and consistency. It utilizes I/O multiplexing, event loops, non-blocking I/O, and shared memory to improve concurrency, but with limitations of concurrency limitations, single point of failure, and unsuitable for write-intensive workloads.

MySQL and SQL are essential skills for developers. 1.MySQL is an open source relational database management system, and SQL is the standard language used to manage and operate databases. 2.MySQL supports multiple storage engines through efficient data storage and retrieval functions, and SQL completes complex data operations through simple statements. 3. Examples of usage include basic queries and advanced queries, such as filtering and sorting by condition. 4. Common errors include syntax errors and performance issues, which can be optimized by checking SQL statements and using EXPLAIN commands. 5. Performance optimization techniques include using indexes, avoiding full table scanning, optimizing JOIN operations and improving code readability.

To create a data table using phpMyAdmin, the following steps are essential: Connect to the database and click the New tab. Name the table and select the storage engine (InnoDB recommended). Add column details by clicking the Add Column button, including column name, data type, whether to allow null values, and other properties. Select one or more columns as primary keys. Click the Save button to create tables and columns.

MySQL's position in databases and programming is very important. It is an open source relational database management system that is widely used in various application scenarios. 1) MySQL provides efficient data storage, organization and retrieval functions, supporting Web, mobile and enterprise-level systems. 2) It uses a client-server architecture, supports multiple storage engines and index optimization. 3) Basic usages include creating tables and inserting data, and advanced usages involve multi-table JOINs and complex queries. 4) Frequently asked questions such as SQL syntax errors and performance issues can be debugged through the EXPLAIN command and slow query log. 5) Performance optimization methods include rational use of indexes, optimized query and use of caches. Best practices include using transactions and PreparedStatemen
