Red Hat / Fedora :: [CentOS] Uninstalled MySQL And Can't Re-install
Jun 15, 2011
I was messing around with MySQL, trying to get MySQLi to install, and then, not sure how I did it, uninstalled MySQL completely. For some reason, I can't reinstall it either. It just says, no packages available.
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
Im having a major problem with mysql-server failing to install.The installation stoppes on "Running Transactions" (have tried waiting for 10 minutes). When I use Ctrl+C an error appears:error: %pre(mysql-server-5.0.77-4.el5_5.4.x86_64) scriptlet failed, signal 2 error: install: %pre scriptlet failed (2), skipping mysql-server-5.0.77-4.el5_5.4
I understand that you can "rpm -i <packagename>" to install an rpm file downloaded from the internet, but is that the best way to install an rpm package? Is it possible to use yum to install an rpm file downloaded from the internet, if so, is that a better method?
I just installed Centos 5.5 on one of my systems today and something is eluding me. Basically I had a web site and forum software (phpBB, but I don't think it's that, other forum software like Xoops does the same thing) running on Fedora 13, and I copied it over to the new Centos installation. Apache is running fine and displays a PHP test file and .html files just fine.
MySQL seems to be fine, I can log into that, show databases etc. Just can't get any forum software to know there is MySQL there. I did change the path of the site, and the databases, and edited /etc/my.cnf and /etc/httpd/conf/httpd.conf to reflect that. Thought I made the needed changes in /etc/php.ini but who knows. Seemed like everything should have tar'd up and moved easy, but not the case...
I'm trying to install Pure-FTPd. I'm going to use it via the internal file-based userlist.The problem is, when I yum install pure-ftpd from rpmforge or CentOS.Karan.Org, I also get mysql, perl-DBI and postgresql-libs as dependencies.Since I'm not intrested in DB-based authentication, I'd strongly prefer to skip these packages.Why are these listed as dependencies, since AFAIK, they are not really dependencies? Can I force yum to skip them somehow?
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems -- > mysql conflicts with mysql-server-community error: mysql conflicts with mysql-server-community
Today I was trying to upgrade mysql and php.PhP went well, thats at the latest version, but the mysql went to 5.5x from REMI. This killed all my websites, no DB and worse.Well I typed the wrong this (totally my fault - serious EPIC FAIL)i typed yum remove mysql not downgrade...This removed plesk and a load of other stuff, and now im screwed.
I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -
[mysqld] datadir=/var/lib/mysql socket = /var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package).
Originally I installed both GNOME and KDE. Later, grew tired of KDE and its applications making space on my menu, so I decided to uninstall it, using yum groupremove. I didn't notice that yum was also removing Network Manager and other programs needed by GNOME. Then, when I restarted the computer, it freezes before it could show the "user login". I'm able to access the Linux command line if I press F1 during loading, but I don't know what to do next! I tried to fix the GRUB configuration, but it didn't have any effect.
and I can not seem to find a php-mysql that works with MySQL 5.1
I followed the below thread and added the CentOS-Testing.repo and did a yum update php and it updated 30 packages, but when I try to install php-mysql I get :
[URL]
yum install php-mysql Setting up Install Process Parsing package install arguments Resolving Dependencies
[Code].....
Where can I find a php-mysql that works with MySQL 5.1? I checked the mysql website and can not seem to find any matches.
I was removing the latest two kernels installed because of some issues with compiz and stuffs. And I accidentally removed the only kernel left too. Now, grub has only one entry for Windows. I used "yum remove kernel-.....". Now, I'm stuck, I don't want to re-install the system. It FC11 using LVM. Is there any way I can install re-install the kernel only. What I'm thinking of is copying the kernel image from a live fc11 or installing via rpm on maintenance mode if its possible.
I am kind of new to fedora and I got fedora 11 but I removed some things like pulseaudio and some dumb program from my wine folder and I am still seeing them listed there and I dont know if thats normal and I need to do something else to get them out or if something isnt working right.
As I attempted to uninstall an MP3 decoder through the command line, I may have also uninstalled the boot loader to Fedora 13. I entered the command to uninstall the program as su - , left for a second, and upon my return I noticed a lot of things were being uninstalled. After canceling the process I turned of my computer and now when I try to start it, my computer freezes after the Fedora icon appears on the blue screen. After looking through the online manuals, I think I uninstalled the GRUB boot loader. I've been trying to reinstall it through the image on the DVD, but it keeps getting stuck on the blue screen. I use a Toshiba satellite with no partitions.
Everytime I tru to install that gem with gem install mysql I get this output :
[CODE] Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for mysql_ssl_set()... no
I installed mysql on my fedora system via a tar download and install instructions. Its working fine. I wanted to install mysql workbench which is rpm based and it reported that there were some dependencies one of which was mysql. I guess the rpm utility could not see the mysql prorgram since mysql as not installed via rpm mode. I have 5 discs of the fedora 12 installation. Can someone let me know if the mysql rpm exists on one of these discs and how do I install ONLY the Mysql package on the fedora 12 system that I already have via rpm mode.
I want to install MySQL in fedora 13. The Software is in .tar file. How do i install that soft in linux. I need step by step instruction to install it.
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.
I've been attempting to set up a LAMP for local web development, which meant installing mysql-server. But now have a problem when trying to run mysql, I get:-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When trying to downgrade mysql-server I saw that there are dependency problems between the various modules (but can't recall which). But whichever route I truied the results are always the same.
Thought about trying XAMPP but I note that even has it's problems, is there any way I can get a lamp set up on FC14, or must I give it up as a bad job.
Howver, just been trying to again to fix the problems with downgrading mysql and get:-
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)