Maniacomputer Web Mail     Powered bydeskNow
     Learn More
    or     Register
Useful

Links


Free technical Tutorials At techtutorials.net



Link Exchange at iWEBTOOL.com

 


For the graphics you need on your website

For javascript
            PHP > Configuring MySql /Apache on vista

Ask about any relevant question in the Comments or leave your valuable feed-back

printer  Print version of this article

star  Add it to your favourite!

mail email this page to a frend
Added on 03/08/2008
This Page has been Viewed 1104 times
Current rating:  4   out of 5 from   1   raters        
   rate this page

How to Install and Configure MySql on  Windows Vista and Apache



 MySql 5.0.45 with Apache running on Vista

2st part - Configuration



 

 

    Sql Configuration Wizard 2




    MySql configuration  Wizard 3




    Sql Configuration Wizard 4




    MySql configuration  Wizard 5



    Sql Configuration Wizard 6





    Sql Configuration Wizard





When the MySql configuration is finished ,you have to configure PHP to run MySql if you haven't done it yet when installing PHP.








    PHP conf.ini



    A this stage open your browser and open the page you have done to test the PHP installation, phptest.php and now you should be able to see all the information about MySql like in the figure below .If you can't see them ,the reason is PHP can't load MySql extension and you'll have to go through the PHP configurations steps and make sure that you've followed all the steps.


A further test to connect to MySql from PHP , open Notepad , new document and copy and paste the following code:

<?php
$host='localhost';                 //host name
$username='user';                //database user name
$password='mypassword';     //database password

mysql_connect($host,$username,$password) or die (mysql_error());
echo"connected<br/>";
?>

Then save the file in your website root directory and name it test_sql.php.Now open the file in your browser and,if everything OK you should read 'connected ' on a white page ,

Comments

Post your comment here or ask any question that is rilevant on what is shown in this page.
Thank you for visiting this website

There is not comments for this page yet.Be the first to post one  add comment