Okay, I’m having a terrible time right now with SQL Anywhere. This is all on an 10.4.9 Intel Mac with the latest downloads of Servoy (4/2007). I’m about ready to pitch it and use MySQL instead.
BACKGROUND
I’m a Servoy newbie trying to create my own database (trial run) for a very simple project I’m beginning.
I started out downloading Sybase 10 Developer’s Edition, thinking that I might as well go for the latest versions and not knowing that these databases are incompatible from version to version!?!? Other newbies reading this should heed that as a warning.
SYBASE 10 DB CREATION_
The Sybase 10 install went fine – I even caught the ‘secret’ message to reboot at the end of the install (watch out for that). After reboot, when I went to create a brand new DB, it just failed and gave the “Could not Connect to Database” error (see THIS THREAD =>> Sybase iAnywhere 10 not creating databases on Intel Mac - Classic Servoy - Servoy Community)
After screwing around with all sorts of options and such, I figured out how to create a DB in Sybase 10. The trick is to (1) Use the DB Launcher to start up the a DB server… select the demo.db file in the Sybase/System/ folder. (2) THEN launch Sybase Central to create a new database.
With the new DB created, I edited the /Servoy/sybase_db/sybase.config file to point to my database and launched Servoy.
LET THE SYBASE 10 PROBLEMS BEGIN
(1) Servoy says it didn’t like the 4k page size (so created a new DB with a 2k page size).
(2) Servoy’s Preferences->DB Servers file to add my new DB. Servoy refused to connect to the database siting some apache errors (similar message to this thread ==> Old DB not connecting in Servoy 3.1.2 - Classic Servoy - Servoy Community ). I verified and tried all permutations of my username/password (DBA/sql). No luck.
(3) Now the funny part: I shut down Servoy, killed the dbsvr9 process, re-launched the Sybase DB Launcher and opened Sybase’s demo.db to get the service started. Then I launched Sybase Central and tried to connect to my new servoy database to see what up. AT THIS POINT, Sybase Central 10 claimed that it could not connect to the database because it was made in a different version!!! So now I have a DB (thankfully empty) that neither Servoy nor Sybase can talk to – scary.
LET THE SYBASE 9 PROBLEMS BEGIN
So, I decided to download Sybase Developer 9 in hopes it would “just work”.
(1) Upon launching Sybase Central (9) I get 2 errors: The first saying that “library dbput9_r could not be loaded” and the second saying that “library dbmlput9_r” could not be loaded. I have found these files and can’t understand why Sybase 9 can’t find them… How do I point Sybase9 to the right place?
QUESTION: Does anyone know where these files are supposed to end up so I can put them there manually???
(2) So, with this crippled version of Sybase Central, it will not let me create a database. Once again, I am stuck.
(3) Furthermore, I can’t connect to databases… I keep getting a nasty java stack trace that’s pages long.
SOME ADDITIONAL SERVOY 9 / 10 NOTES
I learned about ~/.MacOSX/environment.plist today while looking into something totally unrelated (long story). But when I opened it, I found that Sybase’s apps definitely modify this.
So, I did a little cleanup to remove various traces of SQLAnywhere10 from the various paths and keys. I also removed all traces of Sybase 10 from my ~/Library/Preferences.
I even did the same with Sybase 9 (removing all files I could think of) and performed a fresh install with Sybase 9 installer located in the Applications directory.
Sadly, this did not help my problem getting SybaseCentral 9 to run. Am I missing something obvious?
QUESTIONS / FRUSTRATIONS
RANT: I’ve spent >4 hours trying to get Sybase 9 / 10 to create a database, and (more importantly) create a database for use with Servoy.
QUESTION: Any words of wisdom on how to get Sybase to behave and/or “just work”?
I’ve installed and created MySQL databases from the command line in a small fraction of the time by following MySQLs online instructions. For my level of “purchasing power” there seems to be far better support with MySQL.
QUESTION: How are people’s experiences with MySQL?
Thanks any and all for guidance & help.
-Red