Membership plugin

I was needing to increase the number of pages using "define( 'MEMBERSHIP_PAGE_COUNT', 50); "
I changed the wp-config.php file through ftp.
Now I can not access the site I get a "Error establishing a database connection". I went back and removed the code I added but I still get the error.
Help