Message-ID: <3A1ABD0C.38E28AD@accefyn.org.co> Date: Tue, 21 Nov 2000 13:21:00 -0500 From: Alex Garcia <acad@accefyn.org.co> Subject: mysql/perl/new I must say before all I have never used mysql neither perl....but I would like to learn, I installed suse 6.4, I open a term win and type mysql and get this msg... Error 2002 cant connect to local mysql server through socket /tmp/mysql.sock (111) I type perl and get nothing.... it just stays there doing nothing... can some of you tell me how can I get to know if perl is active on my computer and if mysql is alive? if not how can I activate them? cheers
From: tabanna <tabanna@aig.forthnet.gr> Date: Tue, 21 Nov 2000 18:46:06 +0000 Message-Id: <00112118513004.00312@AIG> Subject: Re: [SLE] mysql/perl/new On Tue, 21 Nov 2000, Alex Garcia wrote:
and if mysql is alive? if not how can I activate them?
CReate the file /tmp/mysql.sock and give the file read + write permissions Execute : /usr/local/mysql/bin/safe_mysqld & [as root] then, execute <top> , and in the list of processes running, you should see three mysql daemons running best wishes -- ____________ sent on Linux ____________ 100% Virus Free!
Date: Tue, 21 Nov 2000 14:17:56 -0500 From: Landy Roman <landie@concentric.net> Message-ID: <20001121141756.A677@concentric.net> Subject: Re: [SLE] mysql/perl/new there is a nice tutorial on mysql @ www.devshed.com lookunder sysadm <p>On Tue, Nov 21, 2000 at 06:46:06PM +0000, tabanna wrote:
On Tue, 21 Nov 2000, Alex Garcia wrote:
and if mysql is alive? if not how can I activate them?
CReate the file /tmp/mysql.sock and give the file read + write permissions
Execute :
/usr/local/mysql/bin/safe_mysqld & [as root]
then, execute <top> , and in the list of processes running, you should see three mysql daemons running
best wishes
-- ____________ sent on Linux ____________
100% Virus Free!
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- Rolando Roman SuSe 7.0 Linux virtuoso 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i586 unknown
Date: Tue, 21 Nov 2000 20:52:22 +0100 From: Cliff Sarginson <cliff@raggedclown.net> Message-ID: <20001121205222.A4561@buffy.local> Subject: Re: [SLE] mysql/perl/new On Tue, Nov 21, 2000 at 01:21:00PM -0500, Alex Garcia wrote:
I must say before all I have never used mysql neither perl....but I I type perl and get nothing.... it just stays there doing nothing... can some of you tell me how can I get to know if perl is active on my computer and if mysql is alive? if not how can I activate them? cheers
Mmm. perl is waiting for you to ask it to do something ! If you just type perl on it;s own it will read it's input from your terminal :) try the following... perl printf "hello, world\n" <control/d> Where <control/d> is the "d" key and the control key held down at the same time (this is the Unix..oops sorry, Linux end of file mark). If you see "hello, world" echoed on your terminal you have advanced to the world of perl :) I think your mysql problem has been answered elsewhere here... Cliff p.s. Huge numbers of programs read their standard input by default, which unless you use redirection or pipes in the shell will be expected to come from your terminal. It's worth learning about this...any introductory book to Linux and any of the shells will tell you all about it.
From: Jethro Cramp <jsc@zoo.co.uk> Date: Wed, 22 Nov 2000 13:42:18 +0000 Message-Id: <00112213421806.06158@zeus> Subject: Re: [SLE] mysql/perl/new On Tuesday 21 November 2000 6:21 pm, Alex Garcia wrote:
I must say before all I have never used mysql neither perl....but I would like to learn, I installed suse 6.4, I open a term win and type mysql and get this msg... Error 2002 cant connect to local mysql server through socket /tmp/mysql.sock (111)
If you want MySQL to be started automatically when you (occassionally) re-boot then you can make a setting in the configuration file to do this. Use: Yast1 -> System Administration -> Change Configuration File Then find the value 'START_MYSQL' and set this to 'yes' Jethro
participants (5)
-
acad@accefyn.org.co
-
cliff@raggedclown.net
-
jsc@zoo.co.uk
-
landie@concentric.net
-
tabanna@aig.forthnet.gr