Postgre won't connect lazarus / 16-Databases ---------------------------------------------------------------------- pcwright · 2007-04-09 22:34 PQconnect1 won't connect to my database in localhost. Ther error is: Database does not exist. I used PGadmin to create thiis database and it connects wiithout a problem. My guess is that I don't have something registered in Postgre. Can anone help? Thanks, PCwright ---------------------------------------------------------------------- TeddyBoy · 2007-05-21 20:47 Check db name's characters case. If your db has been named GameInfo, you can't connect using "gameinfo", for ex. ---------------------------------------------------------------------- pcwright · 2007-06-10 18:21 Out of desperation I tried a hack. I copied libpq.so.4.1 to libpq.so and the PGConnect1 now connects to my databases locally and on the server. The transaction also works. But the SQLquery1 won't open a table on either. There is no error message but nothing is displayed in a grid. Is that because of my hack or am I missing something else? I have read all that I could find regarding database components including:http://wiki.lazarus.freepascal.org/Adventures_of_a_Newbie but that didn't help either. Any help will be appreciated, ---------------------------------------------------------------------- Marc · 2007-06-11 14:51 have a look at this thread: http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtop ic&t=3548