SOURCECODEBD.NET

Live Experience

MySQL, phpMyAdmin configuration

#yum install mysql mysql-server
#chkconfig --levels 235 mysqld on
#/etc/init.d/mysqld start

#mysqladmin -u root password yourrootsqlpassword

#yum install httpd

#chkconfig --levels 235 httpd on
#/etc/init.d/httpd start

#yum install phpmyadmin
#vi /etc/httpd/conf.d/phpMyAdmin.conf

Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

<Directory /usr/share/phpMyAdmin/libraries>
    Order Deny,Allow
    Deny from All
    Allow from None
</Directory>
[Uncomment this above line]

#/etc/init.d/httpd restart

http://localhost/phpmyadmin/

You are here: Home / CentOS / Install and Configure MySQL, phpMyAdmin in CentOS