-尊龙登录
.. _intro:
introduction
============
phpmyadmin is a free software tool written in php that is intended to handle the
administration of a mysql or mariadb database server. you can use phpmyadmin to
perform most administration tasks, including creating a database, running queries,
and adding user accounts.
supported features
------------------
currently phpmyadmin can:
* create, browse, edit, and drop databases, tables, views, columns, and indexes
* display multiple results sets through stored procedures or queries
* create, copy, drop, rename and alter databases, tables, columns and
indexes
* maintenance server, databases and tables, with proposals on server
configuration
* execute, edit and bookmark any :term:`sql`-statement, even batch-queries
* load text files into tables
* create [#f1]_ and read dumps of tables
* export [#f1]_ data to various formats: :term:`csv`, :term:`xml`, :term:`pdf`,
:term:`iso`/:term:`iec` 26300 - :term:`opendocument` text and spreadsheet, microsoft
word 2000, and latex formats
* import data and :term:`mysql` structures from :term:`opendocument` spreadsheets, as
well as :term:`xml`, :term:`csv`, and :term:`sql` files
* administer multiple servers
* add, edit, and remove mysql user accounts and privileges
* check referential integrity in myisam tables
* using query-by-example (qbe), create complex queries automatically
connecting required tables
* create :term:`pdf` graphics of your
database layout
* search globally in a database or a subset of it
* transform stored data into any format using a set of predefined
functions, like displaying blob-data as image or download-link
* track changes on databases, tables and views
* support innodb tables and foreign keys
* support mysqli, the improved mysql extension see :ref:`faq1_17`
* create, edit, call, export and drop stored procedures and functions
* create, edit, export and drop events and triggers
* communicate in `80 different languages
`_
shortcut keys
-------------
currently phpmyadmin supports following shortcuts:
* k - toggle console
* h - go to home page
* s - open settings
* d s - go to database structure (provided you are in database related page)
* d f - search database (provided you are in database related page)
* t s - go to table structure (provided you are in table related page)
* t f - search table (provided you are in table related page)
* backspace - takes you to older page.
a word about users
------------------
many people have difficulty understanding the concept of user
management with regards to phpmyadmin. when a user logs in to
phpmyadmin, that username and password are passed directly to mysql.
phpmyadmin does no account management on its own (other than allowing
one to manipulate the mysql user account information); all users must
be valid mysql users.
.. rubric:: footnotes
.. [#f1]
phpmyadmin can compress (:term:`zip`, :term:`gzip` or :term:`rfc 1952`
formats) dumps and :term:`csv` exports if you use php with
:term:`zlib` support (``--with-zlib``).
proper support may also need changes in :file:`php.ini`.