image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old October 28th, 2001, 10:32 AM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
Unhappy Installing MySQL on 10.1... HELP?!?

Hello,

I have a nice simple web development setup on 10.1, with the default installations of Apache and PHP running fine.

I'd like to get up and running with MySQL too, but after I installed the binary distribution from www.entropy.ch and set up a new user called mysql, I still can't access the database from php scripts.

I get the warning:

Warning: Access denied for user: 'mysql@localhost' (Using password: YES) in /Library/WebServer/Documents/index.html on line 9

Warning: MySQL Connection Failed: Access denied for user: 'mysql@localhost' (Using password: YES) in /Library/WebServer/Documents/index.html on line 9

Help! what do I do?

Thanks

Bernie :o)
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>

Last edited by bighairydog; October 28th, 2001 at 02:26 PM.
Reply With Quote
  #2  
Old October 28th, 2001, 02:25 PM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
OK, ignore me, I sorted it out now...

Bernie :o)
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
Reply With Quote
  #3  
Old November 2nd, 2001, 12:08 AM
holmBrew's Avatar
Official Volunteer
 
Join Date: May 2001
Location: Utah, USA
Posts: 309
Thanks: 0
Thanked 0 Times in 0 Posts
holmBrew is on a distinguished road
I am having some MySQL problems...

I installed it on my PB and it works great. I followed the same instructions for my desktop machine and it won't stay running. I get this output to the Terminal?

[localhost:/Users/holmBrew] root# safe_mysqld &
[1] 397
[localhost:/Users/holmBrew] root# Starting mysqld daemon with databases from /usr/local/var
011101 21:44:31 mysqld ended
__________________
holmBrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Great Web Hosting: www.elfon.com
PowerBook(Prismo) 400Mhz G3
266Mhz G3 MT Gossamar
400Mhz G3 Yosemite
800Mhz G4 Quicksilver (my work box)
All running Mac OS X 10.2.4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
  #4  
Old November 2nd, 2001, 06:33 AM
bighairydog's Avatar
tail-wagging member
 
Join Date: Aug 2001
Location: London
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
bighairydog is on a distinguished road
I type

[localhost:/Users/bernie] sudo ./bin/safe_mysqld --user=mysql &

Where mysql is the user I set up for MySQL. When I last had problems I went to entropy.ch and ran their cleanup shell script then I reinstalled thier binary package with the standard installation routine.

This sorts out pretty much any MySQL problem, and if it doesn't, then it's probably not a MySQL issue

Bernie :o)
__________________
"These are my principles, if you don't
like them, I have others"

// 2 line quine in PHP

<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
Reply With Quote
Reply

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
I had a problem in installing MySQL on 10.2.5 lelereb Unix & X11 4 April 21st, 2003 05:10 PM
installing non-bootable 10.1? JeffZPgh Mac OS X System & Mac Software 0 October 3rd, 2001 10:05 PM
10.1 : Upgrade from Apple or Retailers? Laurent LaSalle Apple News, Rumors & Discussion 0 September 29th, 2001 10:23 AM


All times are GMT -5. The time now is 12:57 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.