Here are the results of alias and type
[EMAIL PROTECTED]:~$ alias
alias ls='ls --color=auto'
[EMAIL PROTECTED]:~$ type mysql
mysql is /usr/bin/mysql
And for the emily account:
[EMAIL PROTECTED]:/home/mark$ alias
alias ls='ls --color=auto'
[EMAIL PROTECTED]:/home/mark$ type mysql
mysql is /usr/
Mark Phillips wrote:
David,
This is what I got:
[EMAIL PROTECTED]:~$ aliases
bash: aliases: command not found
Your shell is bash, so the correct command is `alias`.
[EMAIL PROTECTED]:~$ which mysql
/usr/bin/mysql
Since you are using bash, it's a better idea to use `type` instead of `which
273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax
-Original Message-
From: Mark Phillips [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 December 2005 5:36 PM
To: Logan, David (SST - Adelaide)
Cc: mysql@lists.mysql.com
Subject: Re: Need Help Connecting
David,
This is what I go
HP Managed Services
> 148 Frome Street,
> Adelaide 5000
> Australia
>
> +61 8 8408 4273 - Work
> +61 417 268 665 - Mobile
> +61 8 8408 4259 - Fax
>
>
> -Original Message-
> From: Mark Phillips [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 22 December 200
Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax
-Original Message-
From: Mark Phillips [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 December 2005 5:21 PM
To: mysql@lists.mysql.com
Cc: Logan, David (SST - Adelaide)
Subject: Re: Need Help Connecting
David,
How do I do that?
T
David,
How do I do that?
Thanks!
Mark
On Wednesday 21 December 2005 11:37 pm, Logan, David (SST - Adelaide) wrote:
> Hi Mark,
>
> Have you checked to see if you any aliases set? It might be using that
> instead of the mysql command. May well be worth checking your path to
> ensure you aren't pi
Hi Mark,
Have you checked to see if you any aliases set? It might be using that
instead of the mysql command. May well be worth checking your path to
ensure you aren't picking up a script called mysql or something similar.
Regards
David Logan
Database Administrator
HP Managed Services
148 Fr
Hi. I noticed a couple of weird things with your script:
- The error "DBI->connect(myd) failed: Couldn't connect to..." is
happening I think because 'DBI:mysqlPP:myd' is in single quotes when you
call DBI->connect, and the syntax seems off. Maybe you'll have better
success if you follow the syn