Forum Discussion
How to import data from local .db database into Power BI?
Hi, dvabel
According to your description, you get a connection error when using Desktop to connect to a local .db database. In fact, using Desktop to connect to a local .db database requires you to install a database or driver that corresponds to the type of database you are using, and you need to determine the type of database you are using based on the file extension. Here are some examples:
1. If your database file is saved in .mdb or .accdb format, you can use Microsoft Access to open and manage it. access uses its own driver and does not require an additional ODBC driver.
Microsoft Access download link: https://www.microsoft.com/en-us/microsoft-365/access
2. SQL Server database files (.mdf format), you need to install the ODBC driver for SQL Server or install the SQL Server database. 3.
SQL Server ODBC download link: https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16
SQL Server database download link: https://www.microsoft.com/en-us/sql-server/sql-server-downloads
3. MySQL database requires MySQL ODBC driver or installation of MySql database.
MySQL ODBC Download link: https://dev.mysql.com/downloads/connector/odbc/
MySQL Download link: https://www.mysql.com/downloads/
If I misunderstood you, please provide your file type and more data or screenshots without sensitive information, feel free to ask any questions about this.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum