I have noticed an error similar to this ("Error ...blah.. in /home/httpd/horde-phplib/db_mysql.inc on line 73") after editing php.ini with pico from command line. It turns out, pico helpfully wraps lines at column 80 by default, confusing php completely. After I unwrapped the long lines (with vi or mc edit, or even pico itself), the error disappeared. Wasted a few hours before I figured that out.
The error message is even more confusing because the problem is in php setup, not in mysql, so reinstalling mysql doesn't help a bit.
Hope this post will save somebody a few frustrating hours.
Sergei