I’m having troubles installing MySQL, is there any way to use databases without MySQL?
For exmaple, are there any database files that I can put in my website root directory?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SQLite (PHP API) is a file-based database, but it must be installed as well. However, since it doesn’t run a server it is easier to manage than a server-based RDBMS like MySQL. It is recommended only for low traffic, low volume sites.
You should not store the database at the site root, however. The file should be stored outside the site’s document root so it is not accessible from the web.
(SQLite homepage)