[Phplib-users] PHPLIB setup
Brought to you by:
nhruby,
richardarcher
From: twidlar <tw...@cr...> - 2001-12-03 23:32:54
|
Now that I have installed (maybe) PHPLIB into PHPTriad \apache\php and php.ini, I have gotten PHPTriad's index.php to come up properly. I moved on in the installation of PHPLIB. For step 5 of PHP Base Library Documentation (page 2 of 7), in local.inc, I left the definition of DB_Example alone. class DB_Example extends DB_Sql { var $Host = "localhost"; var $Database = "example_database"; var $User = "example_user"; var $Password = ""; } For step 6 I executed the DOS commands cd c:\apache\php\phplib-7.2d\stuff\ c:\apache\mysql\bin\mysql -h localhost example_database <create_database.mysql The result was ERROR 1049: unknown database 'example_database'. It looks like these commands are to set up tables but not the database itself. What I need to do for that? Thanks Tom Widlar |