Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
Am Donnerstag, den 05.11.2009, 17:11 +0100 schrieb Victor Subervi:
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
How about starting it? service mysqld start
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Victor:
Try this: vi /etc/init.d/mysqld And set the chkconfig line to: # chkconfig: 235 64 36
chkconfig --add mysqld chkconfig --level 235 mysqld on /etc/init.d/mysqld start
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com http://www.jammconsulting.com/ CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Victor Subervi Sent: Thursday, November 05, 2009 10:12 AM To: CentOS mailing list Subject: [CentOS] MySQL installation problem
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
On Thursday 05 November 2009 16:11:56 Victor Subervi wrote:
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
How about starting mysqld
service mysqld start
chkconfig --level 35 mysqld on
Tony
service mysqld start mysqld: unrecognized service vi /etc/init.d/mysqld Opens new file. Furthermore, the following commands tell me there's no package available: yum install proftp yum install vsftp yum install pureftpd Please advise. V
On Thu, Nov 5, 2009 at 12:18 PM, Tony Molloy tony.molloy@ul.ie wrote:
On Thursday 05 November 2009 16:11:56 Victor Subervi wrote:
Hi; It's been a while since I controlled my own server and I'm rusty. Trying
to
install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
How about starting mysqld
service mysqld start
chkconfig --level 35 mysqld on
Tony
Dept. of Comp. Sci. University of Limerick. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, 2009-11-05 at 12:34 -0400, Victor Subervi wrote:
service mysqld start mysqld: unrecognized service vi /etc/init.d/mysqld Opens new file. Furthermore, the following commands tell me there's no package available: yum install proftp yum install vsftp yum install pureftpd Please advise.
---- You need to install mysql server software but rather than tell you what to install, I will tell you how to find what you need to install...
yum search mysql
somewhere in the ouput of that command, there will be the server software that you need to install.
Craig
Man, this is getting frustrating. In addition to all the other yum install commands that tell me there's nothing to do, I add these: yum install mysql-server.i386 yum install mysql-server What gives? TIA, V
On Thu, Nov 5, 2009 at 12:41 PM, Craig White craigwhite@azapple.com wrote:
On Thu, 2009-11-05 at 12:34 -0400, Victor Subervi wrote:
service mysqld start mysqld: unrecognized service vi /etc/init.d/mysqld Opens new file. Furthermore, the following commands tell me there's no package available: yum install proftp yum install vsftp yum install pureftpd Please advise.
You need to install mysql server software but rather than tell you what to install, I will tell you how to find what you need to install...
yum search mysql
somewhere in the ouput of that command, there will be the server software that you need to install.
Craig
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Victor:
If you do yum list mysql-server, what do you get back?
If you get back something that looks like this:
Installed Packages mysql-server.x86_64 5.0.77-3.el5 installed
It is already installed.
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com http://www.jammconsulting.com/ CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Victor Subervi Sent: Thursday, November 05, 2009 11:02 AM To: CentOS mailing list Subject: Re: [CentOS] MySQL installation problem
Man, this is getting frustrating. In addition to all the other yum install commands that tell me there's nothing to do, I add these: yum install mysql-server.i386 yum install mysql-server What gives? TIA, V
On Thu, Nov 5, 2009 at 12:41 PM, Craig White craigwhite@azapple.com wrote:
On Thu, 2009-11-05 at 12:34 -0400, Victor Subervi wrote:
service mysqld start mysqld: unrecognized service vi /etc/init.d/mysqld Opens new file. Furthermore, the following commands tell me there's no package available: yum install proftp yum install vsftp yum install pureftpd Please advise.
---- You need to install mysql server software but rather than tell you what to install, I will tell you how to find what you need to install...
yum search mysql
somewhere in the ouput of that command, there will be the server software that you need to install.
Craig
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Victor Subervi wrote:
Man, this is getting frustrating. In addition to all the other yum install commands that tell me there's nothing to do, I add these: yum install mysql-server.i386 yum install mysql-server What gives? TIA, V
Is your Yum configuration broken? Can you post the exact console output of running 'yum install mysql-server'? Maybe try a 'yum clean all' beforehand? -Alan
Well, the service people supposedly installed mysql-server, but here's this:
[root@13gems /]# yum clean all Loaded plugins: fastestmirror Cleaning up Everything Cleaning up list of fastest mirrors [root@13gems /]# yum install vsftp Loaded plugins: fastestmirror Determining fastest mirrors * addons: mirror.stanford.edu * atomic: www4.atomicorp.com * base: mirrors.kernel.org * extras: mirrors.usc.edu * updates: mirrors.bluehost.com addons | 951 B 00:00 addons/primary | 203 B 00:00 atomic | 951 B 00:00 atomic/primary | 224 kB 00:00 atomic 670/670 base | 2.1 kB 00:00 base/primary_db | 2.0 MB 00:01 extras | 951 B 00:00 extras/primary | 118 kB 00:00 extras 290/290 updates | 1.9 kB 00:00 updates/primary_db | 274 kB 00:01 Setting up Install Process No package vsftp available. Nothing to do [root@13gems /]#
TIA, V
On Thu, Nov 5, 2009 at 1:18 PM, Alan Sparks asparks@doublesparks.netwrote:
Victor Subervi wrote:
Man, this is getting frustrating. In addition to all the other yum install commands that tell me there's nothing to do, I add these: yum install mysql-server.i386 yum install mysql-server What gives? TIA, V
Is your Yum configuration broken? Can you post the exact console output of running 'yum install mysql-server'? Maybe try a 'yum clean all' beforehand? -Alan
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Victor Subervi wrote:
Well, the service people supposedly installed mysql-server, but here's this:
[root@13gems /]# yum clean all Loaded plugins: fastestmirror Cleaning up Everything Cleaning up list of fastest mirrors [root@13gems /]# yum install vsftp Loaded plugins: fastestmirror Determining fastest mirrors
- addons: mirror.stanford.edu http://mirror.stanford.edu
- atomic: www4.atomicorp.com http://www4.atomicorp.com
- base: mirrors.kernel.org http://mirrors.kernel.org
- extras: mirrors.usc.edu http://mirrors.usc.edu
- updates: mirrors.bluehost.com http://mirrors.bluehost.com
addons | 951 B 00:00 addons/primary | 203 B 00:00 atomic | 951 B 00:00 atomic/primary | 224 kB 00:00 atomic 670/670 base | 2.1 kB 00:00 base/primary_db | 2.0 MB 00:01 extras | 951 B 00:00 extras/primary | 118 kB 00:00 extras 290/290 updates | 1.9 kB 00:00 updates/primary_db | 274 kB 00:01 Setting up Install Process No package vsftp available. Nothing to do [root@13gems /]#
TIA, V
On Thu, Nov 5, 2009 at 1:18 PM, Alan Sparks <asparks@doublesparks.net mailto:asparks@doublesparks.net> wrote:
Victor Subervi wrote: > Man, this is getting frustrating. In addition to all the other yum > install commands that tell me there's nothing to do, I add these: > yum install mysql-server.i386 > yum install mysql-server > What gives? > TIA, > V > Is your Yum configuration broken? Can you post the exact console output of running 'yum install mysql-server'? Maybe try a 'yum clean all' beforehand? -Alan _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You have the package name wrong. It should be "vsftpd".
$ sudo yum info '*vsftp*' Available Packages Name : vsftpd Arch : x86_64 Version : 2.0.5 Release : 16.el5 Size : 139 k Repo : base Summary : vsftpd - Very Secure Ftp Daemon URL : http://vsftpd.beasts.org/ License : GPL Description: vsftpd is a Very Secure FTP daemon. It was written completely from : scratch.
That's it! Thanks! V
On Thu, Nov 5, 2009 at 1:43 PM, Alan Sparks asparks@doublesparks.netwrote:
Victor Subervi wrote:
Well, the service people supposedly installed mysql-server, but here's this:
[root@13gems /]# yum clean all Loaded plugins: fastestmirror Cleaning up Everything Cleaning up list of fastest mirrors [root@13gems /]# yum install vsftp Loaded plugins: fastestmirror Determining fastest mirrors
- addons: mirror.stanford.edu http://mirror.stanford.edu
- atomic: www4.atomicorp.com http://www4.atomicorp.com
- base: mirrors.kernel.org http://mirrors.kernel.org
- extras: mirrors.usc.edu http://mirrors.usc.edu
- updates: mirrors.bluehost.com http://mirrors.bluehost.com
addons | 951 B 00:00 addons/primary | 203 B 00:00 atomic | 951 B 00:00 atomic/primary | 224 kB 00:00 atomic 670/670 base | 2.1 kB 00:00 base/primary_db | 2.0 MB 00:01 extras | 951 B 00:00 extras/primary | 118 kB 00:00 extras 290/290 updates | 1.9 kB 00:00 updates/primary_db | 274 kB 00:01 Setting up Install Process No package vsftp available. Nothing to do [root@13gems /]#
TIA, V
On Thu, Nov 5, 2009 at 1:18 PM, Alan Sparks <asparks@doublesparks.net mailto:asparks@doublesparks.net> wrote:
Victor Subervi wrote: > Man, this is getting frustrating. In addition to all the other yum > install commands that tell me there's nothing to do, I add these: > yum install mysql-server.i386 > yum install mysql-server > What gives? > TIA, > V > Is your Yum configuration broken? Can you post the exact console output of running 'yum install mysql-server'? Maybe try a 'yum clean all' beforehand? -Alan _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You have the package name wrong. It should be "vsftpd".
$ sudo yum info '*vsftp*' Available Packages Name : vsftpd Arch : x86_64 Version : 2.0.5 Release : 16.el5 Size : 139 k Repo : base Summary : vsftpd - Very Secure Ftp Daemon URL : http://vsftpd.beasts.org/ License : GPL Description: vsftpd is a Very Secure FTP daemon. It was written completely from : scratch.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Nov 5, 2009 at 10:11 AM, Victor Subervi victorsubervi@gmail.com wrote:
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens:
[root@13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
There's no mysqld in the ps wax. Please advise. beno
The mysql package is just client stuff and libraries. You need:
yum install mysql-server
-- Jeff