Re: OS X 10.2.2 Can not access mysql with the terminal

2002-12-19 Thread Chris Garaffa
On Sunday, December 15, 2002, at 03:43  PM, Helmuth Lutz wrote:

First, from where did you install MySQL? Are you using OS X Server? If 
so, MySQL came installed with your system and you shouldn't have a 
problem with it. So I'm assuming you're using the client.

Does anybody have an idea:
- WHY does my currently installed MySQL 3.23.46 start at System-Start?

It's supposed to by default. Check /System/Library/StartupItems


- WHY do the currently installed db's work within Internet-Explorer?

huh? I'm assuming you're using Perl/PHP/Cold Fusion/ASP (although, 
probably not ASP, maybe not CF, on OS X)/something else to generate a 
web site. Check your HTML, as it's probably just a syntax issue. If 
you're using php, install phpmyadmin and try it from different browsers.

- WHY does the terminal not know the commands: mysql or mysqladmin?

Try prefixing the mysql or mysqladmin with:
/Library/MySQL/bin/ so your command looks like
#/Library/MySQL/bin/mysqladmin -u root -p version

To avoid having to do that (if that works), add /Library/MySQL/bin to 
your $PATH. There are plenty of tutorials that can be found by using 
Google. Search for [your shell here] PATH modify, so, for example, bash 
PATH modify

 Not as user  neither as root

The terminal response:
[hlutz:/usr/local/mysql] hlutz# mysqladmin -u root user -p version
mysqladmin: Command not found.


Definately a PATH issue.
--
Chris Garaffa
[EMAIL PROTECTED]
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/M d-(--) s+:+ a--- C++(+++) U*++@ P+ L+ E- W+++ N++ o? K- w--- O-- 
M++$ ?V PS++(+++) PE-(--) Y+ PGP t- 5  X R !tv b+++ DI++ D+ G e h r++ y+
--END GEEK CODE BLOCK--


-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



OS X 10.2.2 Can not access mysql with the terminal

2002-12-15 Thread Helmuth Lutz
Does anybody have an idea:

- WHY does my currently installed MySQL 3.23.46 start at System-Start?
- WHY do the currently installed db's work within Internet-Explorer?
- WHY does the terminal not know the commands: mysql or mysqladmin?
 Not as user  neither as root

The terminal response:
[hlutz:/usr/local/mysql] hlutz# mysqladmin -u root user -p version
mysqladmin: Command not found.

Any help is welcome.

Kind regards
Helmuth Lutz


-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: OS X 10.2.2 Can not access mysql with the terminal

2002-12-15 Thread Paul DuBois
At 21:43 +0100 12/15/02, Helmuth Lutz wrote:

Does anybody have an idea:

- WHY does my currently installed MySQL 3.23.46 start at System-Start?


Becasue something or someone installed the proper startup stuff under
System/Library/StartupItems.


- WHY do the currently installed db's work within Internet-Explorer?


I have no idea what that is supposed to mean.


- WHY does the terminal not know the commands: mysql or mysqladmin?
 Not as user  neither as root

The terminal response:
[hlutz:/usr/local/mysql] hlutz# mysqladmin -u root user -p version
mysqladmin: Command not found.


Because your PATH doesn't include the directory where these programs
are located.



Any help is welcome.

Kind regards
Helmuth Lutz



-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php