My mysql data bases prefixes the user and the database tables with a_* such that you have user : a_name an db :a_name . i was able to install and run webcalendar fine prior to integration. After integrating, I received access denied errors:

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'name'@'localhost' (using password: YES) in *******/public_html/gs51a/other/WebCalendar/includes/php-dbi.php on line 97

Warning: mysql_query() [function.mysql-query]: Access denied for user 'a'@'localhost' (using password: NO) in *******/public_html/gs51a/other/WebCalendar/includes/php-dbi.php on line 265

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in *******/public_html/gs51a/other/WebCalendar/includes/php-dbi.php on line 265

I am assuming that this might be due to the underscore in the db and user name. Not knowing php very well and trying the \ escape character before the _ with no luck, I thought I might ask if you have any thoughts.
Thank You,
Eric

Comments

thespiritual1’s picture

I am having the exact same problem. I have tried a lot of the fixes/work arounds for not being able to connect to the database after integration and nothing is working.

jaredwiltshire’s picture

Category: support » bug

Can you try this again using the latest module version (development snapshot) and WebCalendar 1.1.2? I just tried to replicate this and was unsuccessful.

jaredwiltshire’s picture

Title: database and user with *_* names » Underscore in username
jaredwiltshire’s picture

Title: Underscore in username » Underscore in database username
duaelfr’s picture

Status: Active » Closed (won't fix)

This version of WebCalendar integration is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.