MySQL Forums
Forum List  »  Source, Builds, Binaries

failed/faulty install on OS X.5/PPC
Posted by: Moishe Weiss
Date: January 03, 2010 03:16PM

The files for the recommended version of MySQL (5.1) includes:
mysql-5.1.42-osx10.5-x86-64, which becomes a dmg. This is what I installed.
I installed all three items: the main package, the startup package and the preference pane. I have an iMac G5 PPC with OS X 10.5.8.
1. The preference pane doesn't work at all and causes Preferences to crash.
2. I had to manually add a path, which is okay since I know how to do that
3. Manually adding the path caused the startup item to work
4. I tried:
iMacG5:~ moishe$ mysqladmin -u root password *******
-bash: /usr/local/mysql/bin/mysqladmin: Bad CPU type in executable

I cannot find any file that says OS X 10.5/PPC. I can find OS X 10.5/x86 or x86-64 and I can find MySQL 4/OS X 10.4/PPC. What should I do?

Additional Info:
I ran the code: SystemStarter start mysql. I think it gave me a confirmation message the first time I ran it, but I don't remember for positive. (Something said mysql is running at some point.) After that it doesn't do anything.

I don't think mysql is actually running:
iMacG5:~ moishe$ mysql
-bash: /usr/local/mysql/bin/mysql: Bad CPU type in executable

the php script:
<?php
mysql_connect();
?>

returns:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) in /Library/WebServer/Documents/mysqltest.php on line 2



Edited 1 time(s). Last edit at 01/03/2010 03:28PM by Moishe Weiss.

Options: ReplyQuote


Subject
Views
Written By
Posted
failed/faulty install on OS X.5/PPC
7391
January 03, 2010 03:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.