Current Page: 1 of 1
Results 1 - 9 of 9
8 years ago
havelly
Hello Riggs Well, what a learning experience this has been. I have been using 'mysql -u root' for the database username in all my php scripts and they have been happily working. It was not until the "SELECT * INTO OUTFILE 'geolocDB.txt' FROM geoloc" query was used did an error occur. So using 'root' as the database username is the correct syntax - it now works. Many thanks for you
Forum: WampServer English
8 years ago
havelly
Hello Riggs My apologies for not including the code in the previous response. It is included below: <?php // connect to db host //mysql_connect(DATABASE_HOST, DATABASE_USERNAME, DATABASE_PASSWORD) $connection = mysql_connect("localhost", "mysql -u root", "" ) or die('Could not connect: ' . mysql_error($connection)); // select db $db = mysql_select_d
Forum: WampServer English
8 years ago
havelly
Hello Riggs Interesting. The database has been set up without requiring a password. Many other interrogations of the database happily work - it is only this one that does not. Are you actually referring to the MySQL database password or the Windows password? Does the database require the appropriate rights/privileges to be able to write a file to the C drive? I'm not sure whether lack of
Forum: WampServer English
8 years ago
havelly
Hello Riggs 1. XP 32 bit 2. WampServer ver 2.4 3. Apache ver 2.4.4 4. PHP ver 5.4.16 5. MySQL ver 5.6.12 6. WampServer icon is green 8. Have access to localhost 9. Do not have access to phpMyAdmin 11. Anti-virus - AVG Firewall - Symantec 12. Installation path - c:\wamp I have been happily using WampServer until recently. With a project I am involved with a PHP command was
Forum: WampServer English
9 years ago
havelly
Hello Riggs Again, thank you for your assistance. regards Havelly
Forum: WampServer English
9 years ago
havelly
Hello Riggs I have a green icon and got a list of details after clicking phpinfo() - so this would appear to indicate the installation was successful. When I went to run a program, "php sayHello.php" was typed into the command line (Windows). The response was: 'php' is not recognised as an internal or external command, operable program or batch file. While looking at the
Forum: WampServer English
9 years ago
havelly
Hello Riggs It appears to be working - the icon is green! Your advice was spot on - port 80 was used by another program which I then uninstalled. Thank you once again. havelly
Forum: WampServer English
9 years ago
havelly
Hello Riggs I have recently loaded Wampserver 2.4 onto my Windows XP (32 bit) machine, earning an orange icon for my troubles. Before loading Wampserver 2.4, Visual C++ was loaded. I'm at at a loss as to what the issue is. Below is all the relevant information. Any clues would be appreciated. regards havelly 1. Windows XP – 32 bit 2. Wampserver 2.4 a. b. Loaded using Wampserver2.4-
Forum: WampServer English
9 years ago
havelly
Does anybody know the highest version of Wamp that will run with Windows XP?
Forum: WampServer English
Current Page: 1 of 1