ZendServer CE - change database type? - zend-framework

I am using the trial version of the Zend Server edition. From all the videos/documentation supposedly you are able to change the database version from SQLITE to MySQL, but all I get when deploying an application on Zend Server is to set the Host, Database name, username and password?

Just install mysql on your system and use it. ZendServer does not care what database engine you use. When installing Zend Server it is supposed to ask if you want to install mysql (possibly you have to chose manual installation or custom or extra stuff) you might of mised that option so perhapds reinstalling is the simpler solution.
But really, you should be able to just install mysql and start using it.

Related

How can I tell SQLDeveloper which version of JDBC to use?

I need to connect to an Oracle 9i server from my machine using SQLDeveloper. I already have a functioning version of SQLDeveloper 18.2 + Oracle Client 12 for more modern databases, but for this connection I want a separate older version of SQLDeveloper.
I've installed SQLDeveloper 3.2.20.09 in a separate folder on my machine and can launch it, but it defaults to finding the ojdbc6.jar file from Oracle Client 12. if I go to Help > About and select properties, the jdbc.library says jdbc.library /C:/app/client/product/12.1.0/client_1/jdbc/lib/ojdbc6.jar
and if I try to connect I get the error ORA-01460: unimplemented or unreasonable conversion requested
I tried putting the path to the SQL Developer 3.2 install first in the PATH variable, but no difference. Is there a way to tell SQL Developer which jdbc driver to use for Oracle ? (maybe in sqldeveloper.conf)
The official answer is:
use the jar (driver) we ship with the product OR
use a Thick Client, and we'll pull the jdbc driver from an Instant Client or Oracle HOME on your machine
The 2nd option will work so long as you don't try to go back back or forward in time to the point that the software will recognize/support the driver.
In other words, you can't tell SQL Developer 18.x to use a 9i Home, we have a hard dependency to require at least a 11gR2 client (I believe, it could actually be a 12c based client which is required).
You'd be better off getting your data out of that ancier 9i Database and into a modern 12 or 19c Oracle instance.
but it defaults to finding the ojdbc6.jar file from Oracle Client 12.
Sounds like you've managed to get a thick connection defined, go into preferences and disabled on the advanced page any reference to OCI or Thick, then it will use the jdbc driver shipped with SQLDev.

InnoSetup - How to detect if MySQL Workbench is installed?

I'm creating an installer for modeling software, and we encourage our users to install MySQL Workbench to access model output. However, because the MySQL installation process isn't exactly straight forward, many users end up only installing MySQL Server and fail to install MySQL Workbench. How can I detect during my installation process if MySQL Workbench is installed?
On my development machine, there is a registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Workbench 6.3 CE\Location. I could check to make sure that path exists, but this approach requires MySQL registry keys to be up-to-date (I've been burned relying on this approach trying to detect MySQL Server) and it is version specific.
If it turns out that this is the best option, are there other registry paths that I would need to check?
Am I safe checking MySQL Workbench 6.2 CE, MySQL Workbench 6.3 CE, MySQL Workbench 6.4 CE, etc, or are there other versions out there (e.g. non-"Community Edition")? This isn't apparent to me after spending some time on Workbench's website.
More information:
Since MySQL updates their package much more frequently than we update ours, we are hesitant to bundle a version of the MySQL MSI in our installation package and do a silent install, because it will likely be out of date. Instead, we detect if MySQL has been installed, and if not, we direct them to MySQL's download page and tell them to install MySQL Server and Workbench. This generally works for getting Server installed, but Workbench frequently fails (either because of the pre-reqs and MySQL Installer's non-intuitive prompts, or because they don't notice our recommendation). Therefore, I'm looking for a way to detect if Workbench is installed so I can offer a second prompt if needed.
Does the Workbench GUID stay the same over all the different versions? I'd hate to hard code one in and then have my installer be unable to detect newer/older/non-"Community Edition" versions.

Do I have to uinstall wamp for cakephp and mongodb?

I used wamp for all my projects. But today, I was asked to use mongodb and cakephp to try something new. I have a limited knowledge on how cakephp works, and I was able to install mongodb without any problems. My dilemma are, since I am new to both technology, do I have to uninstall wamp? If yes, what is the server that I am going to use then? Still Apache? Do I have to install both Apache and PHP separately/ manually?
What do I do? Please help.
Where do I unzip the cakephp then? in the www/root folder I created for apache?
CakePHP is just a framework that runs on top of Apache+PHP and MongoDB is just a database like MySQL (which comes with WAMP). As MySQL and MongoDB don't conflict at all, you shouldn't uninstall anything. You will still need the A (apache) and P (PHP) of your WAMP stack.

Migration from SQL Server 2008 R2 Express to SQL Server 2008 R2 Developers Edition

I've done some reading on the installation but it's not clear to me whether I will be UPGRADED to the SQL Server Developers edition or whether the install will create another instance. I want to get rid of SQL Server Express. Will the install give me that option?
If the install does not provide that option
What files must be deleted?
Are there any configuration items I need to gather before the install?
Anything else to be aware of?
You definitely can install a separate instance.
Don't even try to delete or replace sql server files manually - use standard windows instrumentation instead - uninstall it as regular application.
As far as I know - there were no any options to upgrade from express edt. to developer, if you need so - just keep your db in safe place, uninstall express, install developer, attach the db. And be aware of developer license restrictions!

How can I use MySQL 5.x with PHP 4.x?

I am requested to support a legacy system. I needed to install PHP4 on my computer for that and also MySQL 4.x. I couldn't find a MySQL 4.x version that installs on my computer so I thought I'd upgrade the system to MySQL 5.x. The problem is, PHP4 does not seem to work with MySQL 5.x.
I've read somewhere that something called mysqli is needed in PHP for it to be able to work with MySQL 5.x. I just couldn't quite understand whether it's something that is included in PHP5 or something I can add to PHP4.
If it's something I can add to PHP4, how?
Thanks.
PHP4 should work mostly fine with MySQL 5. Note I'm just talking from experience, sometimes it seems the technical stuff I read on the official MySQL and PHP sites have conflicted with what I observe. For what I've done, the only thing I really needed to worry about for compatibility between the two is authentication. Make sure the MySQL account you're trying to connect with from PHP4 uses the old password encoding. You can see this yourself in the mySQL user table. I can't remember the exact numbers but passwords stored under the old format are around 16 characters hashed whereas under the new format they are significantly longer.
More info here:
http://dev.mysql.com/doc/refman/5.5/en/old-client.html