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
845
            PHP > Installing MySql on Vista
 Rate this Page:    your vote is welcome
      Not Rated                                                  

How to Install MySql on IIS 7and Windows Vista



  • Install MySql 5.0.45 on Vista and IIS 7

     


    

    To install MySql on Vista is not much different than installing it on Windows xp.Just be aware of wich version of MySql you will download.There are many versions available on the net,and I used the MySql 5.0.45 for win32 that you can find here at the MySql website, Scroll down the page and fibd this version Windows ZIP/Setup.EXE (x86) a file of 42.5 MB and download it.

     

      MySql Wizard




      Sql Wizard




      Sql Wizard




      MySql configuration  Wizard





      Sql Configuration Wizard




      Sql Configuration Wizard




      MySql configuration  Wizard



      Sql Configuration Wizard




      Sql Configuration Wizard




      MySql configuration  Wizard



      Sql Configuration Wizard




      Sql Configuration Wizard




      MySql configuration  Wizard



      Sql Configuration Wizard





      Sql Configuration Wizard





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








      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 ,