Solved

Hey guys I am having the error every time i try to initialize the database and load the seed data? Plz help

Posted on 2016-07-31
6
83 Views
Last Modified: 2016-07-31
Hey guys I am having the error every time i try to initialize the database and load the seed data? Plz help



Initializing database.database setting.
0
Comment
Question by:NOC123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 41736648
MySQL or mssql?

Posting images .... Is limited.

You get an access denied, what user and what rights does the user have?

Text information is more useful.

What are you using? GUI tool? Which?
0
 
LVL 1

Author Comment

by:NOC123
ID: 41736655
I am using mysql. The user is admin. Right now i am using cli.
0
 
LVL 79

Accepted Solution

by:
arnold earned 500 total points
ID: 41736747
It is not admin, because you are getting an access denied.

Query the MySQL.user tanker.

Note admin@localhost is a different account than admin@servername.
Even if both have the same username, admin, and the same password.
These are two separate accounts with different rights.

In MySQL cli,
Cli are you local to the system on which MySQL is installed?
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 1

Author Comment

by:NOC123
ID: 41736851
Thank you very much man for pointing me toward's the right direction.  I uninstalled sql and reinstalled. Then i created the database in the there. But that didn't work. Bc the file I was running was basically creating the database. Eventually I changed the username to @local. That did create the databases but i was still getting sql error 12. Eventually i changed the user to root.  Which is sql default. And boom it worked.

Thank's again.
0
 
LVL 1

Author Closing Comment

by:NOC123
ID: 41736853
Pointed me toward the right direction.

Thank you.
0
 
LVL 79

Expert Comment

by:arnold
ID: 41736938
FYI, you can use whatever username and from wherever you need, but make sure the rights granted to the user@location are correct for the tasks you want to allow the account to perform.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question