This is sqlite3 remote server and client, written in python
Server side:
-
Edit the db_server.ini by inserting IP, port, path and password for sqlite3 DB file.
-
Run the server:
Terminal$> python server.py
Client side:
-
Open client.py using any editor.
-
Enter the IP address, port and password of the server.
-
On another terminal, run the client.
Terminal$> python client.py Command: select * from `Table`; Received: Result
- Multithreading features - manage to support more than 2 users
- Race condition between 2 users Solution: Consumer and Producer model (to be appeared in the next rolling)
Arbel Israeli in the stackoverflow