Note Not all database platforms support table optimization. If you get a message like: Backup preferences are set by submitting an array of values to the first parameter of the backup method. It it is mostly for use with MySQL. I found it difficult to get anything working using the current documentation. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies.

Uploader: Tutilar
Date Added: 26 April 2012
File Size: 21.75 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 7361
Price: Free* [*Free Regsitration Required]


If the server is not local, it must be prefixed with either ‘hostname: If you want to connect to interbase server runned coodeigniter custom port not default portyou can specify it in “database” parameter in this way: Failed to locate host machine. Btw, I’m running on Ubuntu. With php5 on Windows i couldnt connect to a firebird database with following error: It is mostly for use with MySQL.

This makes the documentation very hard to work with, and any reference to a handle needs to be ignored. Edit Report a Bug.


Permits you to generate an XML file from a query result. It simply creates the CSV layout. Note Both of the parameters can be used individually, just pass an empty value as the first one if you wish to skip it.

Note Due to the limited execution time and ijterbase available to PHP, backing up very large databases may not be possible. If your database is very large you might need to backup directly from your SQL server via the command line, or have your server admin do it for you if you do not have root privileges. The worst part is that It doesn’t even show an error.

If you need to write the file use the File Helper. Finally I found some comments on a newgroup that helped, and this is the result. Permits you to optimize a table using the intebrase name specified in the first parameter.

Database Utility Class — CodeIgniter documentation

The password for username. If 0 or omitted, server chooses its own default. Sign up using Email and Password. This method is case sensitive. Note Not all database platforms support table repairs.


Server Requirements — CodeIgniter documentation

I found the problem. The generated CSV file as a string Return type: The first parameter of the method must contain the result object from your query. Array of database names found Return type: Connect firebird database with codeigniter Ask Question.

Post as a guest Name. In order to initialize the Utility class, your database driver must already be running, since the utilities class relies interbae it. The generated XML document as a string Return type: Things must have been fixed since Simon wrote that note. Permits you to optimize cdeigniter database your DB class is currently connected to. The backup data can be compressed in either Zip or Gzip format. Make sure the dialect value is set to ‘1’, like the following: Sign up or log in Sign up using Google.