straygrey Posted July 19, 2010 Share Posted July 19, 2010 I have created an Oracle database on my Windows XP system but cannot connect from a php script <?php if (!$db = @ocilogon("big", "big", "s7s")) { $error = ocierror(); printf("Error was: %s", $error["message"]); die(); } $stmt = ociparse($db,"SELECT count(*) FROM members"); ociexecute($stmt); ?> When I created the database the connection I used was s7s but whether or not I include that name or just use the ID/password that script will not connect. Please tell me what else I need to do to get this to work. Link to comment https://forums.phpfreaks.com/topic/208177-not-connecting-to-oracle-database/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.