Hi, try,
http://www.h2database.com/html/advanced.html#odbc_driver PostgreSQL ODBC driver ... Regards, Jimmitry. 2012/9/14 Israel <[email protected]> > Hello, > > Anyone know how to connect to H2 embedded DB with PHP ? > > Let's suppose I have the DB instlled here: > > C:\H2\mydb.h2 > > <?php > > $connection = pg_connect("host=???????? port=8082 dbname= user=sa > password=") > or die ("Cannot connect! "); > > ?> > > Do you have any idea ? I tried to put C:\H2\mydb.h2 but it does not work. > > thank you > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/h2-database/-/IB9FCaoC9R8J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
