I want to read the data from .CDB files which seems to be a SQLite 3 database files. I want to read data and handle it using PHP. Can you please suggest me a solution for that?
I tried ADOdb for PHP where the CDB format is not supporting in SQLite driver.
Thanks in advance.
Related
If I have a .php file with some Oracle code previously accessing a Oracle DB, but have setup a MySQL DB and want to edit the existing .php file to be compatible with the MySQL DB, how would I go about doing this? Do I have to manually go through each line and search for the equivalent MySQL statement, and if so, is there a library I can access that gives me the Oracle to MySQL equivalent command?
There is this website with a good compilation of tips and tools to help you out on this task: http://www.sqlines.com/oracle-to-mysql
I was wondering if it is possible to use SQLite in PHP when the extension is not available (due to web hosting policy). Is there a pure PHP library for that?
Otherwise, is there PHP alternative for flat file database which I can adopt without going to MySql or MSSQL?
Try following the link pointed out by Andrei B: I published a link to my implementation of a database, entirely written in PHP, which aims at full support of SQL syntax. It's an open source project, every suggestion and contribution is welcome!
https://github.com/morepaolo/PHPFileDB
Check out https://github.com/mhgolkar/FlatFire or maybe stick with XML files (and related XML and XPath functions).
i've looked into the tidesdk and found no way to query a local or external mysql database.
is there a way to connect to mysql and query a database/table, maybe via php?
thx for help
Currently there is no native way of accessing MySQL through TideSDK. You are welcome to help us create the native module for TideSDK to access MySQL.
I have datas that will be added monthly, every month I must import more than 30 XSLX! When I am using Navicat I must set the relation from xslx column with mysql table column and I do it repeatedly! It's wasting my time ...
I was wondering that I can import from xlsx to MYSQL automatically, using PHP or Navicat or anything else maybe? Please help me.
SOLVED :
I am using SimpleXLSX, it's faster and efficient. Very recommended for everyone!
You can write simple Perl script that will do the following:
Open your Excel file(s) for reading using DBD::Excel driver.
Open MySQL server connection using DBD::mysql driver.
Read data from Excel using SELECT and insert data into MySQL using INSERT.
Profit! :-)
To make it work on Windows, you should install following free software:
Activestate Perl from http://activestate.com/perl, then DBD::mysql and DBD::Excel as follows:
ppm install DBD::Excel
ppm install DBD::mysql
And finally, you need to write your Perl script. It should not be very difficult if you follow documentation on links above.
I would go for PHPExcel
Good examples and docs are supplied.
Try Data Import tool in dbForge Studio for MySQL.
Customize data import once and save template file (import options, field mapping and etc.), then use it many times. It is also possible to use data import in command-line mode.
I have been given 2 files .DB and .sdf to work with. I have googled it a little and found out that its SQL Compact database format. I really have no idea how to work with these database files.
I have found here on stackoverflow some 3rd party tools, bud they were all for windows (I am on Mac).
I have also tried to open it in SQLite but no success.
I need this data in my web app written in PHP. So conversion to MySQL or Postrge seems to be an ideal solution. Any ideas?
You can use MSSQL extension in PHP to work with these databases