Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBase creation error #4

Closed
B3ndik0208 opened this issue Jul 22, 2020 · 6 comments
Closed

DataBase creation error #4

B3ndik0208 opened this issue Jul 22, 2020 · 6 comments
Labels
Bounty I need help fixing this. Bug Something isn't working

Comments

@B3ndik0208
Copy link

There was an error while trying to connect to the host or while executing a query: "SQLSTATE[HY000] [2002] Connection refused (SQL: SELECT 1 FROM dual)" I get this when I try to add the database inside the panel after the script is finish installing

I press [1] on the firewall setup on both of them, its happends on ubuntu 18.04 and 20.04

@TommyTran732 TommyTran732 added the Bug Something isn't working label Jul 22, 2020
@TommyTran732
Copy link
Owner

I can reproduce this bug. Seems like this is caused by the unix_socket_authentication on newer versions of MariaDB. I will attempt to fix this in the next couple of days.

@itsmemac
Copy link

@B3ndik0208 @LucidAPs try the steps below

  • go to cd /etc/mysql/mariadb.conf.d
  • and edit 50-server.cnf
  • erase 127.0.0.1 and put 0.0.0.0
  • save
  • and restart mysql

Found this is Revenact Discord server months ago. It worked for me

@TommyTran732 TommyTran732 added the Bounty I need help fixing this. label Sep 11, 2020
@TommyTran732 TommyTran732 pinned this issue Sep 11, 2020
@INfoUpgraders
Copy link

INfoUpgraders commented Sep 11, 2020

All that does is bind the IP to allow remote access, not bypass the firewall.

@Wqrld
Copy link
Contributor

Wqrld commented Sep 11, 2020

Will see if i can reproduce and patch this.

EDIT: reproduced and fixed in a PR.

@TommyTran732
Copy link
Owner

Fixed in #8 and #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bounty I need help fixing this. Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
@Wqrld @INfoUpgraders @itsmemac @TommyTran732 @B3ndik0208 and others