ovflowd / chocolatey

:chocolate_bar: The open source Habbo.com Engine & CMS
GNU General Public License v3.0
50 stars 19 forks source link

Access Denied - Migrate #244

Closed AntonSandin closed 7 years ago

AntonSandin commented 7 years ago

Hi, when trying to run the "php artisan migrate" i get this error: What is this cuased by? (Have tried creating an user on Navicat for arcturus)

SQLSATE[HY000] [1045] Access denied for user 'arcturus'@'localhost' <using password: YES> <SQL: select * from information_schema.tables where table_schema = arcturus and table_name = migrations>

[PDOException]
SQLSATE[HY000] [1045] Access denied for user 'arcturus'@'localhost' <using password: YES>

Image: http://i.imgur.com/EZcUBdc.png

ovflowd commented 7 years ago

Hi @Iluminatos!

Thanks for reporting an Issue to the Chocolatey Repository.

We're glad that you're using our software. I need to remember that this message was generated automatically.

In order to gracefully report your Issue, please we recommend the followance of those requirements:

Here's what to do: if you need help:

Recommendations About your recently opened Issue?

We really recommend using Lightshot to take your screenshot. It allows marks, annotations and more.

If you bug it's about a feature from Chocolatey or glitch, we trully recommend taking a HAR File. You can attach a HAR File following this procedure.

A HAR file it's a complete log of the network requests of a specific page.

Also we recommend specify some Informations about your OS like.:

Are you creating a Feature Request?

About Feature requests, we recommend you specify completely about what your Feature Request is. Tag the type of change that you want to be added.

Changes need to be specified, and you need specify why and what you want to be changed/added.

Be creatively and try explain in the best manner as possible.

Tag the Issue on the Title

Tagging your Issue will be the best thing you can do for us. We separate issues by tags, and we can work more quickly by knowing from what is the Issue related.

Those are the available tags:

Remember to tag on the title of the Issue [Issue Type]

I updated my Issue.. And now?

You wait.

We have ful-jobs and a life, we will receive updates by e-mail and soon as possible update your Issue by tagging it correctly, assigning to our team and obviously answering it.

Then we will support you and help you in what we can.

Also if you Issue it's out of the params we will not answer it, or answer it asking to you fix and correct the main message

If you dom't know how to use GitHub correctly, check this tutorial.

Further information

AntonSandin commented 7 years ago

@sant0ro @BobyTS

ArTeX1 commented 7 years ago

wrong password

s150217754 commented 7 years ago

Hello,

As what @ArTeX1 have mentioned, it is probably:

  1. You have provided a invalid database credential (username, password or database name).
  2. Permission error in MySQL which either: forbids connection from a non-whitelisted IP address OR no permission to handle the stated database.

Let us know if you require further assistance. If you have resolved your issue, kindly close this Issue.

AntonSandin commented 7 years ago

@ArTeX1 Wrong password in config?

AntonSandin commented 7 years ago

@s150217754 In the database config?

This issue has not been fixed yet.

s150217754 commented 7 years ago

Invalid Database Credential Yes, in your .env file.

Permission Error Configure it at MySQL/PhpMyAdmin

AntonSandin commented 7 years ago

Alright, worked now.

I've fixed all configs & php artisan. Anything else that needs to be done (Windows & IIS & PHP7)

s150217754 commented 7 years ago

Well, you're good to go. Do take a look at the Wiki for more helpful tips about Chocolatey.

Have fun exploring the endless possibilities that you can achieve from Chocolatey :)

Closing this.

ovflowd commented 7 years ago

@Iluminatos next time try to read proper the displayed error. Many times when people receive errors first call for help and doesn't ever bother to read it.

The error as explained by @s150217754 it's really SIMPLE and probably was wrong password on your configuration files. I truly recommend you next time give an attempt to read the errors or check it on the Internet

:smile: