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
68 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
  • 3
  • 3
6 Comments
 
LVL 77

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 77

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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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 77

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

772 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