Connecting OSX Classic to OSX with MySQL and PHAkT
This FAQ will attempt to explain how to make a connection from Ultradev running on a Mac's Classic environment back to a MySQL database hosted locally from Mac OSX. MacOSX, when dealing with database connections, sees the Classic environment as a separate machine on the network.
Therefore, when trying to create a Connection from Ultradev, one cannot enter 'localhost' or '127.0.0.1' as the host for the database.
Instead, from Ultradev treat OSX as a completely separate machine on your local network and enter the IP address for it in the Host IP address. This IP address will be the one listed in OSX's Network Preference panel. Also, because OSX thinks you are trying to connect from another machine you have to update your User permissions within your database. I've allowed myself to connect from '%' but, if you are not in a closed network you will need to be more careful.
Therefore, when trying to create a Connection from Ultradev, one cannot enter 'localhost' or '127.0.0.1' as the host for the database.
Instead, from Ultradev treat OSX as a completely separate machine on your local network and enter the IP address for it in the Host IP address. This IP address will be the one listed in OSX's Network Preference panel. Also, because OSX thinks you are trying to connect from another machine you have to update your User permissions within your database. I've allowed myself to connect from '%' but, if you are not in a closed network you will need to be more careful.
Comments
System crash on Ultradev/OS9 to MySQL/OSX connection
I'm running Ultradev 4.01 on Mac OS X 10.1.2 in Classic mode (9.2.2), with MySQL and JDBC (mm.mysql-2.0.8) installed.
Connections to external servers work fine via JDBC (jdbc:mysql://...), and also external machines can connect to MySQL on my Mac in the same way.
But when I try to connect from Ultradev to the local MySQL server (using the machine's IP, not localhost or 127.0.0.1, those do not work at all, as your article describes), the system crashes badly, i.e. halts with the following error:
"Unresolved kernel trap(cpu 0): 0x300 - Data access dar="0x00000070" pc="0x000ef7dc"" etc.
Any idea why and what to do about it?
Your method functions, but i don't have ip adress
RE: System crash on Ultradev/OS9 to MySQL/OSX connection
You must me logged in to write a comment.