Hi all,
I have installed phpmyadmin3.3 in my server. here my php package versions.
php-mysql-5.2.10-1.el5.centos
php-common-5.2.10-1.el5.centos
php-ldap-5.2.10-1.el5.centos
php-cli-5.2.10-1.el5.centos
php-imap-5.2.10-1.el5.centos
php-xmlrpc-5.2.10-1.el5.centos
php-pgsql-5.2.10-1.el5.centos
php-5.2.10-1.el5.centos
I installed apache and php from source and got them working together a month ago. Because I'm learning both of them this term.
Now I need mysql to do more works. And I installed mysql from source just now. However I don't know how to let it work with php.
I looked around and found some topics on setting up LAMP environment.
I am installing MySQL, Apache, and PHP on a new Centos 6.4 server.
For MySQL, you have three choices. Using "yum install mysql" along with Centos's repository is the simplest, but installs a very old version. Or you can go with "official" documentation at MySQL.com, but it has a few gotchas.
I'm attempting to install PHP 5.4.11 and MySQL 5.6.10 onto a CentOS 6.3 box.
I've successfully installed PHP 5.4.11 via the remi repository for yum.
I really did it this time.. I deleted a database named MySQL in my server. Shortly after MySQL went haywire and now I cannot login as a user to mysql, I cannot re-install mysql, I get an error for every solution I try.
So I decided hell with it I'll remove mysql, php and start again. I used rpm -qa | grep mysql but it returned nothing.
How I can install mysql in ubuntu 12.04(gnome 3). So that I will have my mysql installation in /usr/bin/mysql
It's library and header files in /usr/lib/mysql and /usr/include/mysql respectively.
Last time I tried sudo apt-get install mysql-server mysql-client mysql-common The mysql has been installed in /usr/bin/mysql.
Hi all,
I installed centos 5, with LAMP.
httpd is working fine, ssh, ftp all working ok.
But, when I try to use mysql its not,
when I give the command
Code:
mysql
I get
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I started with one server running Apache, PHP, MySQL. Now I have split off my web server so I am running all the PHP files on one server and my MySQL is still on the original server. Are there services / programs that I can turn off or uninstall from the MySQL Server now, or do I need to keep httpd (etc) running?
I need to upgrade mysql 5.0 to mysql 5.1.
Do i need to carry out anymore steps then these.
I will log into the server and do
rpm -Uvh MySQL-server-community-5.1.63-1.rhel5.x86_64
the earlier version of mysql was installed using yum install .
Is this the correct approach ?
After installing do i need to upgrade the indvidual database themselves if so how ?
regards