Skip to main content
Participant
July 25, 2011
Question

Newbie trying mysql connection.

  • July 25, 2011
  • 2 replies
  • 379 views

I have no idea what I am doing, and trying to find help with an error message is rough. I am using dreamweaver 8 and trying to make a connection to mysql. When I http://www.kytravelers.com/Connections/MyConn.php I get the following error messages...where can I start to find out what I am doing wrong.

Warning: main(..MyConn.php) [function.main]: failed to open stream: No such file or directory in /nfs/c02/h05/mnt/17755/domains/kytravelers.com/html/Connections/MyConn.php on line 2

Fatal error: main() [function.require]: Failed opening required '..MyConn.php' (include_path='.:/usr/local/php-4.4.9-2/share/pear') in /nfs/c02/h05/mnt/17755/domains/kytravelers.com/html/Connections/MyConn.php on line 2

Thanks,

Scott

This topic has been closed for replies.

2 replies

July 28, 2011

Im not that familiar with DW 8, I use DW CS4. But when I set up a Database connection there's a "Test" Button so I can check my page will be able to access the db - did you try this?

I've been where you are - totally baffled - and it can be very frustrating but the folks on this forum are really great at hanging in with you until the problem gets solved.

July 25, 2011

The error is telling you it cannot find the file

Connections/MyConn .php

If this folder/file has been loaded to the server, then it is a path problem, meaning you are not pointing to the correct location.

Gary