Database Connectivity Issue with Gitea

Installation - Gitea: Git with a cup of tea window.addEventListener(‘error’, function(e) {window._globalHandlerErrors=window._globalHandlerErrors||; window._globalHandlerErrors.push(e);}); window.config = { appUrl: ‘http://localhost:3000/’, appSubUrl: ‘’, assetVersionEncoded: encodeURIComponent(‘1.19.1’), assetUrlPrefix: ‘/assets’, runModeIsProd: null , customEmojis: {“codeberg”:“:codeberg:”,“git”:“:git:”,“gitea”:“:gitea:”,“github”:“:github:”,“gitlab”:“:gitlab:”,“gogs”:“:gogs:”}, useServiceWorker: false , csrfToken: ‘’, pageData: null , requireTribute: null , notificationSettings: {“EventSourceUpdateTime”:10000,“MaxTimeout”:60000,“MinTimeout”:10000,“TimeoutStep”:10000}, enableTimeTracking: true , mermaidMaxSourceCharacters: 5000 , i18n: { copy_success: ‘Copied!’, copy_error: ‘Copy failed’, error_occurred: ‘An error occurred’, network_error: ‘Network error’, }, }; window.config.pageData = window.config.pageData || {}; .dropdown:hover > .menu { display: block; } .ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }

The database settings are invalid: dial tcp 127.0.0.1:3306: connectex: No connection could be made because the target machine actively refused it

The database settings are invalid: dial tcp 127.0.0.1:3306: connectex: No connection could be made because the target machine actively refused it

This is saying that Gitea cannot reach your database server at port 3306 on the local machine. Are you sure whatever database you are running is running and listening on 127.0.0.1:3306?

1 Like