Forums
This topic is locked
System crash on Ultradev/OS9 to MySQL/OSX connect
Posted 29 Dec 2001 19:06:26
1
has voted
29 Dec 2001 19:06:26 Harald Winkler posted:
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, 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?
Replies
Replied 29 Dec 2001 22:20:25
29 Dec 2001 22:20:25 Tim Green replied:
An unresolved kernel trap in your instance would indicate to me one of a number of causes:-
1). The MySQL Service is not loaded
2). MySQL has not been correctly compiled for the OSX platform due to the failure of one or more libraries (this is most likely IMO)
3). There is an issue with one (or more) of the core OSX libraries.
4). The OSX Kernel hasn't been correctly compiled (least likely).
5). The Java runtimes/SDK are corrupt on your installation, and need to be reinstalled (again not likely as you can connect to remote databases).
As MySQL is the one component that does not come as standard, I would guess that this is where the problem lies.
I would suggest that you contact MAC support on this issue, as unfortunately, none of this really relates to PHP (though I appreciate it is happening only when you use the PHP Server Model). But I hope the above helps to shed some more light on the problem.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
1). The MySQL Service is not loaded
2). MySQL has not been correctly compiled for the OSX platform due to the failure of one or more libraries (this is most likely IMO)
3). There is an issue with one (or more) of the core OSX libraries.
4). The OSX Kernel hasn't been correctly compiled (least likely).
5). The Java runtimes/SDK are corrupt on your installation, and need to be reinstalled (again not likely as you can connect to remote databases).
As MySQL is the one component that does not come as standard, I would guess that this is where the problem lies.
I would suggest that you contact MAC support on this issue, as unfortunately, none of this really relates to PHP (though I appreciate it is happening only when you use the PHP Server Model). But I hope the above helps to shed some more light on the problem.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 30 Dec 2001 12:01:37
30 Dec 2001 12:01:37 Harald Winkler replied:
The strange thing is, that I can connect to the MySQL Server on OS X from any external machine running Ultradev (both Mac and PC). Thus, the service must be loaded.
So it could be either that OS X modules that are corrupted, or a part of the
MySQL installation. Thank you for these hints: I need to check this...
Another question: Running Apache with the PHP module loaded is not a requirement for the connection to work, is it? (It is currently not running.)
Best regards
Harald
So it could be either that OS X modules that are corrupted, or a part of the
MySQL installation. Thank you for these hints: I need to check this...
Another question: Running Apache with the PHP module loaded is not a requirement for the connection to work, is it? (It is currently not running.)
Best regards
Harald
Replied 02 Jan 2002 01:07:05
02 Jan 2002 01:07:05 Tim Green replied:
Neither Apache nor PHP need to be running at all to use MySQL. MySQL exists as a seperate service (normally running on port 3306), and does not rely on a webserver (as it doesn't need one) or PHP.
Unfortunately, connecting successfully to MySQL on your OSX box from another machine on the network would seem to indicate to me that it is then very likely a Library or Java issue.
If MySQL works correctly when your OSX machine is used as a remote database then it less likely that it is an issue with the MySQL installation (as it works from elsewhere).
Something else that springs to mind is that it could possibly be a TCP/IP issue?
Just thinking out loud here of course, but hopefully some of this will be of help.
Happy New Year!
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Unfortunately, connecting successfully to MySQL on your OSX box from another machine on the network would seem to indicate to me that it is then very likely a Library or Java issue.
If MySQL works correctly when your OSX machine is used as a remote database then it less likely that it is an issue with the MySQL installation (as it works from elsewhere).
Something else that springs to mind is that it could possibly be a TCP/IP issue?
Just thinking out loud here of course, but hopefully some of this will be of help.
Happy New Year!
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>