ag-grid / ag-grid-server-side-graphql-example

13 stars 9 forks source link

bug: cannot enqueue Query after fatal error #20

Open jnlsn opened 2 years ago

jnlsn commented 2 years ago

Following the setup steps and then running yarn start loads the UI with an endless loading spinner. Inspecting the network traffic shows the first /graphql request results in the following error:

{"errors":[{"message":"Cannot enqueue Query after fatal error.","locations":[{"line":2,"column":3}],"path":["rows"]}],"data":null}
Geoffrey-D commented 2 years ago

You need to have an up and running MySQL database, import the data (located in olympic_winners.sql) & change your credentials (default is user "root" with pwd "newrob12" on "localhost").