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

Cant do anything(i suppose i might dont know) #1

Closed
rahulgupta9817 opened this issue Apr 22, 2024 · 7 comments
Closed

Cant do anything(i suppose i might dont know) #1

rahulgupta9817 opened this issue Apr 22, 2024 · 7 comments

Comments

@rahulgupta9817
Copy link

I have done everything as in the steps perfectly. everything was fine but..
image
as you can see created the data base and all. Apparently when i try to login using that credential i have created i cant login while from above seeing those requests i eventually figured out that it not recognized my data base(MYSQL) server address that i wrote in .env file. So please help me i really dont know what to write in the field of MYSQL_DB. even wrote http://localhost:8000 0r with different ports and also 12.0.0.1 . everything this how currently it looks like: MYSQL_USER="admin"
MYSQL_PASSWORD="BlockChain1234"
MYSQL_HOST="DESKTOP-FUGQNF4"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" Please help me fix this

@KushalGowdaa
Copy link

I have done everything as in the steps perfectly. everything was fine but..
image
as you can see created the data base and all. Apparently when i try to login using that credential i have created i cant login while from above seeing those requests i eventually figured out that it not recognized my data base(MYSQL) server address that i wrote in .env file. So please help me i really dont know what to write in the field of MYSQL_DB. even wrote http://localhost:8000 0r with different ports and also 12.0.0.1 . everything this how currently it looks like: MYSQL_USER="admin"
MYSQL_PASSWORD="BlockChain1234"
MYSQL_HOST="DESKTOP-FUGQNF4"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" Please help me fix this

Hey try typing "localhost" in the field of MYSQL_HOST.

@Tharun-Techie
Copy link

I have done everything as in the steps perfectly. everything was fine but..
image
as you can see created the data base and all. Apparently when i try to login using that credential i have created i cant login while from above seeing those requests i eventually figured out that it not recognized my data base(MYSQL) server address that i wrote in .env file. So please help me i really dont know what to write in the field of MYSQL_DB. even wrote http://localhost:8000 0r with different ports and also 12.0.0.1 . everything this how currently it looks like: MYSQL_USER="admin"
MYSQL_PASSWORD="BlockChain1234"
MYSQL_HOST="DESKTOP-FUGQNF4"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" Please help me fix this

Hey try typing "localhost" in the field of MYSQL_HOST.

hello bro i have the same issue MYSQL_USER="root@localhost"
MYSQL_PASSWORD="root"
MYSQL_HOST="localhost"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" so i changed as u said but still not cleared yet

@Tharun-Techie
Copy link

I have done everything as in the steps perfectly. everything was fine but..
image
as you can see created the data base and all. Apparently when i try to login using that credential i have created i cant login while from above seeing those requests i eventually figured out that it not recognized my data base(MYSQL) server address that i wrote in .env file. So please help me i really dont know what to write in the field of MYSQL_DB. even wrote http://localhost:8000 0r with different ports and also 12.0.0.1 . everything this how currently it looks like: MYSQL_USER="admin"
MYSQL_PASSWORD="BlockChain1234"
MYSQL_HOST="DESKTOP-FUGQNF4"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" Please help me fix this

Hey try typing "localhost" in the field of MYSQL_HOST.

hello bro i have the same issue MYSQL_USER="root@localhost" MYSQL_PASSWORD="root" MYSQL_HOST="localhost" MYSQL_DB="voter_db" SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" so i changed as u said but still not cleared yet

image

@KushalGowdaa
Copy link

I have done everything as in the steps perfectly. everything was fine but..
image
as you can see created the data base and all. Apparently when i try to login using that credential i have created i cant login while from above seeing those requests i eventually figured out that it not recognized my data base(MYSQL) server address that i wrote in .env file. So please help me i really dont know what to write in the field of MYSQL_DB. even wrote http://localhost:8000 0r with different ports and also 12.0.0.1 . everything this how currently it looks like: MYSQL_USER="admin"
MYSQL_PASSWORD="BlockChain1234"
MYSQL_HOST="DESKTOP-FUGQNF4"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" Please help me fix this

Hey try typing "localhost" in the field of MYSQL_HOST.

hello bro i have the same issue MYSQL_USER="root@localhost"
MYSQL_PASSWORD="root"
MYSQL_HOST="localhost"
MYSQL_DB="voter_db"
SECRET_KEY="d2b861a623b1d0e89f7c91c313bce1db34fbce8356ca80cf38b72e4c5a832ed5f0fa7136ef0ed5c32641308daa88c29c108d85835afcf37e5385c8e2c4cacee6" so i changed as u said but still not cleared yet

Hey why is the MySQL user given as root@localhost I think it should be the user name that you've given while setting up the MySQL db check that out

Even if the problem continues check the port where the MySQL db is running and specify the port if it is other than 3306

@KushalGowdaa
Copy link

did it work?

@rahulgupta9817
Copy link
Author

rahulgupta9817 commented Jul 10, 2024 via email

@rahulgupta9817
Copy link
Author

rahulgupta9817 commented Jul 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants