I want to do something which sounds very very simple but which has turned out to be incredibly difficult. I want to create a sqlite database with two one field tables of unicode text. I load the data from two text files. One is simply a list of surnames and the other a list of unicode place names. I load this same data into a Mysql database using my VM Ubuntu LAMP with no problems.
There is some bizarre problem that you cannot load data from text files into a MySQL or sqlite database on my website provider, GoDaddy. Can't load data from text files into a database --how pathetic! Support said you are on your own.
I tried Razorsql, SQLite Database Browser 2.0 and the Firefox plugin SQL Lite Manager and all failed to load the data because they can't process unicode or they create a corrupt database (razorsql).
My Ubuntu LAMP has PDO installed (as per phpinfo) but not sqlite, so I installed "libsqlite3-0" and "sqlite" with apt-get but still get errors when using PDO commands. This server says sqlite_open is an unknown function. The statement "$db = new PDO($db);" gives the error "Fatal error: Uncaught exception 'PDOException' with message 'invalid data source name' in etc, etc.
What is the simplest way to load two single columns of unicode text into two tables of a sqlite v3 database?
There is some bizarre problem that you cannot load data from text files into a MySQL or sqlite database on my website provider, GoDaddy. Can't load data from text files into a database --how pathetic! Support said you are on your own.
I tried Razorsql, SQLite Database Browser 2.0 and the Firefox plugin SQL Lite Manager and all failed to load the data because they can't process unicode or they create a corrupt database (razorsql).
My Ubuntu LAMP has PDO installed (as per phpinfo) but not sqlite, so I installed "libsqlite3-0" and "sqlite" with apt-get but still get errors when using PDO commands. This server says sqlite_open is an unknown function. The statement "$db = new PDO($db);" gives the error "Fatal error: Uncaught exception 'PDOException' with message 'invalid data source name' in etc, etc.
What is the simplest way to load two single columns of unicode text into two tables of a sqlite v3 database?