RE: [Phpgedview-talk] mysql
Brought to you by:
canajun2eh,
yalnifj
From: John F. <Joh...@by...> - 2004-05-04 14:50:40
|
Hi Len, =20 You need to create a database for PhpGedView to use. The message below = states that PhpGedView was able to connect to the MySQL Host using the = username and password that you supplied, but it wasn't able to find the = database name you entered on the configuration screen. PhpGedView does = not create a database automatically, you have to have one already = created. The reason that PhpGedView doesn't try to automatically create = a database is that most hosts do not allow their users to create their = own databases and charge them extra for every database that they do = create. So it wouldn't be good if PhpGedView just created databases. =20 If you already have a database name that you would like to use, just = enter that name in the configuration screen. You should be able to find = out this information from your host. If you don't have a database name, = then you will need to create one. Your host should have instructions = somewhere on how to create a new database. =20 --John =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D John Finlay PhpGedView Project Manager http://www.phpgedview.net <http://www.phpgedview.net/>=20 =20 ya...@us... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -----Original Message----- From: php...@li... = [mailto:php...@li...] On Behalf Of Len = Lundgren Sent: Monday, May 03, 2004 8:38 PM To: php...@li... Subject: [Phpgedview-talk] mysql Hi I am a mysql newbie. as well as for phpgedview. My ged com is 30meg, and will not import, does create the first file, = but none of the indexes. I set up mysql. by reading the posts, discovered that no user, no = password will work. I I have mysql id & password, works from command = line, is in the ini, but pgv will not connect using it. i now get this message: Here dbconn:Resource id #15 dbsel: dbuser: dbpass: Your current database = configuration is bad. Please check your database connection parameters = and configure again.PhpGedView made a connection to your MySQL database = host, but was unable to use the database with the name you entered. = Check that the database exists and that the usename you entered has the = appropriate permissions on that database. The file of course does not exist, pgv has not created it yet. I then, using command line created the file in mysql, pathing it to the = index sub-directory. I used it from the command line works. no file was created in the index = sub-directory. I re-tried again and got the same message What do I do to make it work? Len e-mail -> llu...@in... Web Page http://thelundgrens.us All Electronic Equipment runs on Smoke . . . When the Smoke leaks out, = it quits. |