Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
DenisVarshavsky
Frequent Visitor

Importing tables from MariaDB - Error: user exceeded max user connections

Hi,

Would appreciate any insight regarding the following error message: [ma-3.1.20]user has exceeded the 'max_user_connections'


BACKGROUND INFO:
I am attempting to import a large number of tables to Power BI from a database managed using MariaDB management system.

STEPS:
These were the steps I followed:

  1. Installed ODBC connector driver for MS Windows 64-bit OS: https://mariadb.com/downloads/connectors/connectors-data-access/odbc-connector/
  2. Created data source in Power BI:
            - Selected 'MariaDB'.
            - Inserted data source details (server, port, database name) and selected 'Import' connectivity mode.
            - Selected the relevant tables from the list and proceeded to Loading them.
  3. At this point I receive an error message: 
           - [ma-3.1.20]user '---' has exceeded the 'max_user_connections' resource (current value: 5)

                - Model View shows first four tables, while for the rest of the tables the abovementioned error message appears (see screenshot below)

It appears that for each imported table Power BI allocates one connection. Given that my user has a limit of 5 connections: one is being used to connect to the database and then four remaining connections appear to be used to load four tables only.

I thought that increasing max connections number for my user would be an acceptable solution, but our DBA is concerned this will put lots of stress on the database. 

Would appreciate any ideas on how to resolve the issue.

DenisVarshavsky_1-1710534816707.png

 

DenisVarshavsky_2-1710534822224.png

 

 

 

 

1 ACCEPTED SOLUTION
DenisVarshavsky
Frequent Visitor

Thanks for the suggestion.
I found a workaround by disabling parallel loading in the Options. This forces Power BI to load tables sequentially (while previously these were treated as multiple concurrent jobs). 

View solution in original post

2 REPLIES 2
DenisVarshavsky
Frequent Visitor

Thanks for the suggestion.
I found a workaround by disabling parallel loading in the Options. This forces Power BI to load tables sequentially (while previously these were treated as multiple concurrent jobs). 

lbendlin
Super User
Super User

Use dataflows for individual tables or groups of tables.. Then in Power BI connect to the dataflows.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.