Forums
This topic is locked
Phakt problem
Posted 28 Jul 2001 16:02:12
1
has voted
28 Jul 2001 16:02:12 John Wards posted:
HelloI have got Ultradev to succesfully test my conection to my database so that is great. The problem is that when i try to insert a update record or an insert record i keep being asked to select a connection but i have becase i am able to see my tables from my database. What am I missing?
Cheers
John
Edited by - rawveg on 07/28/2001 19:03:53
Replies
Replied 29 Jul 2001 18:33:37
29 Jul 2001 18:33:37 Tim Green replied:
Please read www.UDzone.com/go?1271 and post the required information.
I see from other mailing lists and groups you are posting the same problem. If you really want help, help yourself and give all pertinent information.
Tim Green
Webmaster
www.rawveg.org (Coming Soon)
I see from other mailing lists and groups you are posting the same problem. If you really want help, help yourself and give all pertinent information.
Tim Green
Webmaster
www.rawveg.org (Coming Soon)
Replied 29 Jul 2001 23:23:21
29 Jul 2001 23:23:21 John Wards replied:
Sorry about that.
I am running Apache, MySQL and PHP 4.06 on a Win98 box.
My OBDC connection is called test and my database is also called test. And I my webserver is either localhost or 127.0.0.1
What happens is i make a conection to my database and it tests the conection fine. When I select to insert an updat or an insert it asks me to select a conection. I have selected a conection because if i hadn't i wouldn't be able to select my tables in the databse called test.
I think that is all the information you need? any more please ask becuse i am at a loss. I want to begin a major website using php and I need to get it to work on one of my coders computer so he can do all the basics using ultradev.
Cheers
John Wards
I am running Apache, MySQL and PHP 4.06 on a Win98 box.
My OBDC connection is called test and my database is also called test. And I my webserver is either localhost or 127.0.0.1
What happens is i make a conection to my database and it tests the conection fine. When I select to insert an updat or an insert it asks me to select a conection. I have selected a conection because if i hadn't i wouldn't be able to select my tables in the databse called test.
I think that is all the information you need? any more please ask becuse i am at a loss. I want to begin a major website using php and I need to get it to work on one of my coders computer so he can do all the basics using ultradev.
Cheers
John Wards
Replied 30 Jul 2001 19:54:14
30 Jul 2001 19:54:14 Tim Green replied:
No problem. The Guidelines are a new addition to the TalkZones.
Have you checked out the tutorial at www.udzone.com/go?1201 for MyODBC connections to MySQL ?
Another alternative is using a JDBC connection, for more information about that see the tutorial at www.udzone.com/go?1202
It is also possible there is a permissions problem. By default MySQL installs with two tables. One called mysql and another called test. If neither of these tutorials work for you it is possible that the permissions for the test table need to be altered (though this shouldn't be the case).
Try the MyODBC tutorial first, and if that doesn't work try the JDBC tutorial. If you have any further problems please let me know here.
Tim Green
Webmaster
www.rawveg.org (Coming Soon)
Have you checked out the tutorial at www.udzone.com/go?1201 for MyODBC connections to MySQL ?
Another alternative is using a JDBC connection, for more information about that see the tutorial at www.udzone.com/go?1202
It is also possible there is a permissions problem. By default MySQL installs with two tables. One called mysql and another called test. If neither of these tutorials work for you it is possible that the permissions for the test table need to be altered (though this shouldn't be the case).
Try the MyODBC tutorial first, and if that doesn't work try the JDBC tutorial. If you have any further problems please let me know here.
Tim Green
Webmaster
www.rawveg.org (Coming Soon)
Replied 30 Jul 2001 22:00:04
30 Jul 2001 22:00:04 John Wards replied:
The thing is I am able to verifiy that the conection works when i define the connection to begin with.
When i use the adobc test file it connects and updates my database no problem.
I was give the sugestion to delete the conection info in my root folder and save the file before i define the connection but i got the same problem!!! AAAArrgh!!
Please help me!! <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
John
When i use the adobc test file it connects and updates my database no problem.
I was give the sugestion to delete the conection info in my root folder and save the file before i define the connection but i got the same problem!!! AAAArrgh!!
Please help me!! <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
John
Replied 30 Jul 2001 22:47:05
30 Jul 2001 22:47:05 John Wards replied:
I have also tried using jbdc to conect to a new database i set up. Still the same problem. This is very strange!
John
John
Replied 31 Jul 2001 00:20:17
31 Jul 2001 00:20:17 John Wards replied:
Excuse me for being stupid!!
I tried to use the insert/update bit at the bottom of the insert menu not in the live objects bit. Ah dear two nights of stressing!!!!
Sorry for bothering you lot and confuzing everyone and my self
John
I tried to use the insert/update bit at the bottom of the insert menu not in the live objects bit. Ah dear two nights of stressing!!!!
Sorry for bothering you lot and confuzing everyone and my self
John
Replied 31 Jul 2001 00:42:33
31 Jul 2001 00:42:33 Tim Green replied:
John, no worries. At least we all know now where the problem was !
Glad that you are finally up and running <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Tim Green
Webmaster
www.rawveg.org (Coming Soon)
Glad that you are finally up and running <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Tim Green
Webmaster
www.rawveg.org (Coming Soon)