Jump to content

simpleorchid

New Members
  • Posts

    8
  • Joined

  • Last visited

simpleorchid's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks Christian..... I will take your advice. once again thank you.
  2. Hi, I am trying to develop a webcrawler using php script. I am little confused about the method of webcrawler. In order to webcrawl, could i do that using a website that has select lists and checkboxes. if so, how? The url will look like http://www.xxx.com/l...wPastNumbers.do and has list box and checkbox and a submit button. How do I do it? Is there any tutorial related to this? Thanks
  3. txmedic03, Thanks for the info. You have given me some insights. Thanks once again.
  4. Thanks a lot @Muddy_Funster. Yes it is my ignorance that telnet is hidden and have to be turned on if one needs it. I think I should go by your advice of using XAMPP. So I should uninstall all of mysql, apache server, and php. Once again thank you all who tried to help me.
  5. The reason why i installed individually is that in the end (read as in future) when I make websites (for clients) in the future, I may have to deploy them and think that i have to install the requirement individually. So I thought that this will teach me how to do it and make preparation. I hope you know what I mean. Now I am in learning stage.
  6. Yes i did try this (mysql console). And there was no problem with it. ************************************** Well I am on window 7, that cmd telnet is not available. it is only available on Windows xp and 2000... see http://www.computerhope.com/telnethl.htm *********************************** I have tried turning off the firewall for 15 mins and repeated the process. But to my surprise, nothing changes. here is my script for database connection. <?php $dsn = 'mysql:host=localhost;dbname=my_guitar_shop1'; $username = 'root'; $password = ''; try { $db = new PDO($dsn, $username, $password); } catch (PDOException $e) { $error_message = $e->getMessage(); include('database_error.php'); exit(); } ?>
  7. Well, I checked it. And For mysql it says that it "started" (status) and is automatic (startup type).
  8. Hi, I am new here and I do not know where to put my questions and problems regarding php and mysql. I recently installed php 5 and mysql 5.5 and apache web server individually on my windows 7 operating system. I also intalled netbean ide. So far, my php file will work without database. For example <?php echo phpinfo(); ?> will work. But when I try to connect my php file with the database , it fails. In my netbean ide, I tried to test connection but it fails and shows the following errors...... Cannot establish a connection to jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=convertToNull using com.mysql.jdbc.Driver (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.) My server host name is localhost. server port number is 3306 username is root and password ="". Could anyone identify the problems I am having? Another question .... Should mysql be installed inside the web server folder or separate location? I usually see my database in the mysql command line console. so i think it has to do with the connection problem. Any idea? Thanks in advance. Zac
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.