prashants / webzash

Easy to use web based double entry accounting software in PHP - MySQL under MIT License
http://webzash.org
Other
208 stars 109 forks source link

This is MySQL project, but database is in .sqlite file #83

Closed goosehub closed 7 years ago

goosehub commented 7 years ago

Perhaps I'm misunderstanding, but if this is a MySQL project, why is the default database connection in MasterConfig.php for sqlite, and the database file for import a .sqlite file. How does a user import the .sqlite database file into a MySQL database?

goosehub commented 7 years ago

I found the problem. The README does not mention you have to import the database as a step. MasterConfig is by default sqlite, but you can change that to MySQL, then go to app/Plugin/Webzash/Config/MasterChema.MySQL.sql and import that into the database. This should probably be in the README, right before "Thats it ! You are done :)"

prashants commented 7 years ago

There is one master database to store user info which is sqlite. Accounts database are in MySQL format.

https://github.com/prashants/webzash/wiki/MySQL-for-user-and-account-information

goosehub commented 7 years ago

I was able to get it working without sqlite.