特殊:Badtitle/NS100:PhpMyAdmin
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/phpMyAdmin }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/af | • {{#if: UbuntuHelp:phpMyAdmin|Afrikaans| [[::PhpMyAdmin/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ar | • {{#if: UbuntuHelp:phpMyAdmin|العربية| [[::PhpMyAdmin/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/az | • {{#if: UbuntuHelp:phpMyAdmin|azərbaycanca| [[::PhpMyAdmin/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/bcc | • {{#if: UbuntuHelp:phpMyAdmin|جهلسری بلوچی| [[::PhpMyAdmin/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/bg | • {{#if: UbuntuHelp:phpMyAdmin|български| [[::PhpMyAdmin/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/br | • {{#if: UbuntuHelp:phpMyAdmin|brezhoneg| [[::PhpMyAdmin/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ca | • {{#if: UbuntuHelp:phpMyAdmin|català| [[::PhpMyAdmin/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/cs | • {{#if: UbuntuHelp:phpMyAdmin|čeština| [[::PhpMyAdmin/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/de | • {{#if: UbuntuHelp:phpMyAdmin|Deutsch| [[::PhpMyAdmin/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/el | • {{#if: UbuntuHelp:phpMyAdmin|Ελληνικά| [[::PhpMyAdmin/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/es | • {{#if: UbuntuHelp:phpMyAdmin|español| [[::PhpMyAdmin/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/fa | • {{#if: UbuntuHelp:phpMyAdmin|فارسی| [[::PhpMyAdmin/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/fi | • {{#if: UbuntuHelp:phpMyAdmin|suomi| [[::PhpMyAdmin/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/fr | • {{#if: UbuntuHelp:phpMyAdmin|français| [[::PhpMyAdmin/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/gu | • {{#if: UbuntuHelp:phpMyAdmin|ગુજરાતી| [[::PhpMyAdmin/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/he | • {{#if: UbuntuHelp:phpMyAdmin|עברית| [[::PhpMyAdmin/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/hu | • {{#if: UbuntuHelp:phpMyAdmin|magyar| [[::PhpMyAdmin/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/id | • {{#if: UbuntuHelp:phpMyAdmin|Bahasa Indonesia| [[::PhpMyAdmin/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/it | • {{#if: UbuntuHelp:phpMyAdmin|italiano| [[::PhpMyAdmin/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ja | • {{#if: UbuntuHelp:phpMyAdmin|日本語| [[::PhpMyAdmin/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ko | • {{#if: UbuntuHelp:phpMyAdmin|한국어| [[::PhpMyAdmin/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ksh | • {{#if: UbuntuHelp:phpMyAdmin|Ripoarisch| [[::PhpMyAdmin/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/mr | • {{#if: UbuntuHelp:phpMyAdmin|मराठी| [[::PhpMyAdmin/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ms | • {{#if: UbuntuHelp:phpMyAdmin|Bahasa Melayu| [[::PhpMyAdmin/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/nl | • {{#if: UbuntuHelp:phpMyAdmin|Nederlands| [[::PhpMyAdmin/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/no | • {{#if: UbuntuHelp:phpMyAdmin|norsk| [[::PhpMyAdmin/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/oc | • {{#if: UbuntuHelp:phpMyAdmin|occitan| [[::PhpMyAdmin/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/pl | • {{#if: UbuntuHelp:phpMyAdmin|polski| [[::PhpMyAdmin/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/pt | • {{#if: UbuntuHelp:phpMyAdmin|português| [[::PhpMyAdmin/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ro | • {{#if: UbuntuHelp:phpMyAdmin|română| [[::PhpMyAdmin/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/ru | • {{#if: UbuntuHelp:phpMyAdmin|русский| [[::PhpMyAdmin/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/si | • {{#if: UbuntuHelp:phpMyAdmin|සිංහල| [[::PhpMyAdmin/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/sq | • {{#if: UbuntuHelp:phpMyAdmin|shqip| [[::PhpMyAdmin/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/sr | • {{#if: UbuntuHelp:phpMyAdmin|српски / srpski| [[::PhpMyAdmin/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/sv | • {{#if: UbuntuHelp:phpMyAdmin|svenska| [[::PhpMyAdmin/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/th | • {{#if: UbuntuHelp:phpMyAdmin|ไทย| [[::PhpMyAdmin/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/tr | • {{#if: UbuntuHelp:phpMyAdmin|Türkçe| [[::PhpMyAdmin/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/vi | • {{#if: UbuntuHelp:phpMyAdmin|Tiếng Việt| [[::PhpMyAdmin/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/yue | • {{#if: UbuntuHelp:phpMyAdmin|粵語| [[::PhpMyAdmin/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/zh | • {{#if: UbuntuHelp:phpMyAdmin|中文| [[::PhpMyAdmin/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/zh-hans | • {{#if: UbuntuHelp:phpMyAdmin|中文(简体)| [[::PhpMyAdmin/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:phpMyAdmin | UbuntuHelp:phpMyAdmin | {{#if: | :}}PhpMyAdmin}}/zh-hant | • {{#if: UbuntuHelp:phpMyAdmin|中文(繁體)| [[::PhpMyAdmin/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:phpMyAdmin|:PhpMyAdmin|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :PhpMyAdmin/zh | | {{#ifexist: PhpMyAdmin/zh | | {{#ifeq: {{#titleparts:PhpMyAdmin|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:PhpMyAdmin|1|-1|}} | zh | | }}
Introduction
phpMyAdmin is a very famous MySQL mangement software package. To use it you should install and configure PHP, Apache and php mysql (or mysqli) extension see ApacheMySQLPHP for instructions.
Installing From Package
Install phpMyAdmin from the Universe repository see InstallingSoftware for detailed instructions on using repositories and package managers. From console:
sudo apt-get install phpmyadmin
- If you're using Ubuntu 7.10 (Gutsy) select Apache2 from the "Configuring phpmyadmin" dialog box.
Once phpMyAdmin is installed point your browser to [1] to start using it. You should be able to login using any users you've setup in MySQL.
Installing from source
You may install phpmyadmin from source. This method circumvents the package manager and you will need to install updates yourself. This is not recommended for a production web server. Also, you'll need to have Subversion installed to download the source. To install it from source open the console and cd to the www directory using:
cd /var/www/
then download it using svn by writing:
sudo svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin
then cd to phpMyAdmin
cd phpMyAdmin
and create the folder config
sudo mkdir config
after that chmod it
sudo chmod o+rw config
then open http://localhost/phpMyAdmin/scripts/setup.php and follow the instructions. Note: This guide has been tested on Ubuntu 6.06 (Dapper) and Ubuntu 7.10 (Gutsy).