No Code Attached Yet
avatar abhiquiet
abhiquiet
26 Sep 2022

Steps to reproduce the issue

OS - Ubuntu 20.04
PHP 7.4.3 (cli) (built: Aug 17 2022 13:29:56) ( NTS )
Mysql Server - Already installed and running various other databases on separate server - Version 5.7
Mysql Client installed is version 8.0
Joomla Version 4.2.2
Apache2 - Server version: Apache/2.4.41 (Ubuntu)

The Webserver is fresh installation with latest update and upgrade.

After installing the pre-requisites, I started the installation and filled in the basic details and database connections.

I am able to connect the database from the server from commandline.

But, when I proceed with Joomla installation, I am getting the A Database error occurred.

Note :- separate database created for joomla installation.

I am not able to view the logs for the errors further.

Kindly help me with the installation in case I am missing somehting. .

Regards

Abhinav Aggarwal

avatar abhiquiet abhiquiet - open - 26 Sep 2022
avatar joomla-cms-bot joomla-cms-bot - change - 26 Sep 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Sep 2022
avatar abhiquiet
abhiquiet - comment - 26 Sep 2022

@joomla-cms-bot

This is basic installation error.

No logs available, hence no code attached.

avatar N6REJ
N6REJ - comment - 27 Sep 2022

are you sure you used the right name for the database connection? It's probably NOT localhost. Thats what typically causes this.

avatar abhiquiet abhiquiet - change - 28 Sep 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-09-28 05:53:04
Closed_By abhiquiet
avatar abhiquiet abhiquiet - close - 28 Sep 2022
avatar abhiquiet
abhiquiet - comment - 28 Sep 2022

It was my bad.
I realised that the error shown is different from the actual error.
I digged in the errors reported in the browser developer tools.
The main error was relating to the CORS.
When I changed the name of my site based on the url, it proceeded smoothly and I completed my installation.
Thanks for the support.

Add a Comment

Login with GitHub to post a comment