No database support detected
Author: Elvin M.
Visited 921,
Followers 1,
Shared 0
Hello,
We are using the latest Website X5. Recently we have created a blog. We have also installed a Mysql in Linux server. We have uploaded the website, the blog page is available on the website, but there is a message "No database support detected". I have also installed php mysql module. I checked the database, there is no tables inside. Could you please let me know what the problem can be?
Hope to hear from you very soon.
Posted on the
Has the database access data been entered into WebSite X5 under ...
-----
5 Export > Export the website to the Internet / Parameters
_______/ data management /_____
-----
...?
Author
Hello. Thank you for your reply.
In Export, until now we have used FTP. Yesterday we have entered the details for the database in Data Management. I have attached the screenshot here. If we are using Database, then should we remove the details for FTP?
No, the FTP data must be left, it is mandatory to export the site
Author
Thanks. I didn't undertand this, if the website is still exported via FTP, then what is the role of using Database?
Before I have used Wordpress, all website data is stored in a Database.
WebsiteX5 is not a CMS, WebsiteX5 uses databases to
Website statistics
blog comments or other comments that should be written on db
automatic registration
If you don't use one of these services it is NOT necessary.
Author
Thanks for the comprehensive information. Could you please help me how to solve the problem that we are facing now?
If you do not use the database these fields should be left blank.
Question Does your project need a database?
Author
We have created a blog. And on the blog page, we see the message "No database support detected".
In the Mysql database, there is no tables created after uploading the whole website.
Author
We are runnign PHP 8.1 and Mysql 8. Is Website X5 compatible with these versions?
website X5 supports
PHP 8.0 from version 2021.2
PHP 8.1 from version 2022.3.4
PHP 8.2 from version 2023.X
As I wrote, you have obviously activated blog comments or other comments on the project that must be written on the db, put the writing on the file, no database
if instead you want to use the database and you are sure you have entered the correct data on WebsiteX5, at this point I think STAFF should intervene
Author
I have entered the correct data of database on Website X5. While uploading, there is no error messages. But for any reason, it doesn't add tables into the database, and on the webpage, there is a notification "No database support detected".
Author
In addition to my last message, i would like to know that how Website X5 knows which Database port is used. Because there is no option for it.
Unfortunately, from the 2021.x versions (if I remember correctly) the management of the database tables can no longer be decided by the user, an option that I personally have disapproved of several times (and not just me), which is why I advise you to read the guide online to see if you can find more updated information.
@Elvin
if you need to specify the connection port the syntax to use is this
ip address of database:port number
for example with ip 123.123.123.123 and port 3306
123.123.123.123:3306
Author
@Claudio
Thank you for the informtation. I have made the change, uploaded the whole website, but the tables in the database are still empty, also this sentence is still on the blogpage "No database support detected".
Author
Maybe some PHP modules are missing, that's why it gives this error message. But I couldn't find which PHP 8 modules are required for Website X5.
Author
After installing php8.1-mysql extension, it started to work.