Change SQLite database mode to read-write

前端 未结 14 605
盖世英雄少女心
盖世英雄少女心 2020-12-13 01:35

How can I change an SQLite database from read-only to read-write?

When I executed the update statement, I always got:

SQL error: attempt to wr

14条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 02:18

    Edit the DB: I was having problems editing the db. I ended up having to
    sudo chown 'non root username' ts3server.sqlitedb
    as long as it wasn't root, i could edit the file. Username is the username of my non root account.

    Auto start TeamSpeak: as your non root account
    crontab -e
    @reboot /path to ts3server/ aka /home/ts3server/ts3server_startscript.sh start

提交回复
热议问题