Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Database sqlite3文件被加密或不是数据库,而只是试图列出所述数据库的表_Database_Sqlite - Fatal编程技术网

Database sqlite3文件被加密或不是数据库,而只是试图列出所述数据库的表

Database sqlite3文件被加密或不是数据库,而只是试图列出所述数据库的表,database,sqlite,Database,Sqlite,我试图用sqlite3版本3.7.9打开一个数据库,这是我以前在sqlite版本2.8.17中创建的。我所要做的只是用.tables命令列出数据库中当前的表,然后得到错误消息。 我运行的操作系统是ubuntu SQLite 3.x.x与SQLite 2.x.x不兼容。您将需要SQLite 2.8.17来打开数据库

我试图用sqlite3版本3.7.9打开一个数据库,这是我以前在sqlite版本2.8.17中创建的。我所要做的只是用.tables命令列出数据库中当前的表,然后得到错误消息。
我运行的操作系统是ubuntu

SQLite 3.x.x与SQLite 2.x.x不兼容。您将需要SQLite 2.8.17来打开数据库