image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
LinkBack Thread Tools
  #1  
Old October 17th, 2002, 08:12 PM
Registered User
 
Join Date: Oct 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
charleskline is on a distinguished road
Errors when trying to test MySQL

I seem to have gotten MySQL installed ok, but when I try mysql test I get these errors:

[Charles-Klines-Computer:/] root# cd /Library/MySQL/
[Charles-Klines-Computer:/Library/MySQL] root# sudo chown -R mysql /Library/MySQL/*
[Charles-Klines-Computer:/Library/MySQL] root# sudo ./bin/safe_mysqld --user=mysql &
[1] 1255
[Charles-Klines-Computer:/Library/MySQL] root# A mysqld process already exists
mysql test
mysql: Command not found.
[1] + Exit 1 sudo ./bin/safe_mysqld --user=mysql
[Charles-Klines-Computer:/Library/MySQL] root# mysql test
mysql: Command not found.

Any ideas?
Reply With Quote
  #2  
Old December 4th, 2002, 12:15 AM
Registered User
 
Join Date: Feb 2001
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rgsdesigner is on a distinguished road
Unhappy Errors while testing MySQL

I am having the same type of errors. Any help is apprecated.

[gunshy:/usr/local/mysql] peewee% sudo chown -R mysql /usr/local/mysql/*
[gunshy:/usr/local/mysql] peewee% sudo ./bin/safe_mysqld --user=mysql &
[1] 518
[gunshy:/usr/local/mysql] peewee% A mysqld process already exists
mysql test
mysql: Command not found.
[1] + Exit 1 sudo ./bin/safe_mysqld --user=mysql
[gunshy:/usr/local/mysql] peewee%
Reply With Quote
  #3  
Old December 4th, 2002, 06:19 AM
Registered User
 
Join Date: Oct 2001
Location: tokyo
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
mntamago is on a distinguished road
What OS version are you running? I can not recall exactly, but somewhere around 10.1.5 or so I ran into a similar problem. As it turned out, updating my OS have changed my PATH.

Try a ...

which mysql

from somewhere like /usr. You should get...

/usr/local/bin/mysql

... if 1) you have used Marc Liyanage's installation, 2) your PATH has not been screwed up.

To fix my PATH in my case, I edited /etc/csh.login . I added the following:

setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
__________________
mntamago
Reply With Quote
  #4  
Old December 5th, 2002, 03:04 AM
Registered User
 
Join Date: Sep 2002
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
cgildenhuys is on a distinguished road
"mysql test
mysql: Command not found."

in which directory are you when to try to run this command? I always do a safe_mysqld from the mysql dir which would mean that the mysql command would also be bin/mysql, not just mysql. Else I have the same error, command not found.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help.. upgrade to Jaguar caused MySQL errors ms_kle Mac OS X System & Mac Software 11 October 21st, 2002 07:09 PM
MySQL Instal Errors hembeck Unix & X11 33 September 15th, 2002 11:17 AM
MySQL errors on installation charmkat Mac OS X System & Mac Software 0 February 3rd, 2002 07:33 PM


All times are GMT -5. The time now is 07:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.