Difference between revisions of "Adminer"

From ArchWiki
Jump to: navigation, search
(root privilege needed & systemd restart command)
Line 14: Line 14:
  
 
It can be done by running:
 
It can be done by running:
  $ echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf
+
  # echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf
  
 
* After it restart your [[LAMP|apache]] daemon:
 
* After it restart your [[LAMP|apache]] daemon:
  $ rc.d restart httpd
+
  # systemctl restart httpd
  
 
{{Note | The Adminer can be accessed by your browser on [http://localhost/adminer http://localhost/adminer] }}
 
{{Note | The Adminer can be accessed by your browser on [http://localhost/adminer http://localhost/adminer] }}

Revision as of 14:39, 15 November 2012

Adminer is a simple tool for database management. It's possible to manage MySQL, PostgreSQL, Sqlite3, MS SQL and Oracle. It's a simplier alternative to PhpMyAdmin. More pieces of information about this project you can find at official page or wikipedia.

Installation under Apache

  • Ensure you do not have an older copy of adminer.
$ rm -r /srv/http/adminer
$ yaourt -S adminer
  • After installation it's neccessary to add following line to /etc/httpd/conf/httpd.conf:
Include conf/extra/httpd-adminer.conf

It can be done by running:

# echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf
  • After it restart your apache daemon:
# systemctl restart httpd
Note: The Adminer can be accessed by your browser on http://localhost/adminer

External links