Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

Relationship query sql 1040 error

$
0
0

I'm using on an azure deployed image.

Admin Application Version: 2.1.5

DreamFactory Version: 2.1.1

I have a table which has few hundred entries. Each entry has a user_id colum.
Relationship of the table :
user_profile_by_user_id belongs_to user_profile user_id true

When I query related data for each of the hundreds of entries based on each user_id

$GetParameters = ['filter' => ('user_id='.$userID),
'related' => ('*'),

If I include all the related data in the query I get SQLSTATE 1040 too many connections. It only happens when the query has few hundred results. If there's less data all is fetched fine.
Is there some limit I can increase so I bypass this error putting the burden on the server temporarily ?

Thank you.


Viewing all articles
Browse latest Browse all 5028

Trending Articles