hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  Flash button as Flex icon  Flex form by email  Hello Remoting with AS3  AS3 Saving data from Flash  AS3 Loading data into Flash  Fire Effect  Contact form  Dragable buttons  Hello World with openamf  Loading helper classes  Upload with Flash 8  Transitions effects  Snapshot with Flash 8  Hello World Remoting AS2  Flash AS2 Remoting Connector  Saving data from Flash  Loading data into Flash  FlashCom & Remoting login  Cell Renderer API  Editing a table using remoting components  Flash MX2004 web service classes  Browsing a catalog  amfphp Documentation  Hello World Remoting  Online Store with AMFPHP  Flash clients for Web Services  Web Service Walk Though with NuSoap  Popup windows in flash with javascript  Installing Apache/PHP  MoreOver News Feeds  Load Edit Save Text Files via CGI  Save Movie Clip Postion via PHP and MySQL
Current Page (6) << Previous Page | Next Page >> 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

Installing MySQL 3.23.49

First where going to have to download MySQL
You can download MySQL 3.23 here:  http://www.mysql.com/downloads/mysql-3.23.html 
Or more specifically here:  Download (mysql-3.23.49-win.zip)

After you have downloaded this file unzip it to a temporary directory.  For exampe:  C:\MySQLTemp

Go to that folder and click the Setup Application file (shown as a computer icon).

The Setup should begin.  Click through the first couple of screens and select the default location to install MySQL to (C:\MySQL).

Next:  Open up the file C:\mysql\bin\winmysqladmin.exe (The icon has a little my SQL graphic).  This will prompt you for a UserName and password you want to use for accessing MySQL.  Enter a Username and password of your choice and then click ok.  This creates a file called my.ini (Located: C:\Windows\my.ini) You can open this up if you want, you should see the Username and Password you just specified as the 3rd and 4th line in this file.  Their are some other items you can change here, but for are purpose's that's all that's needed.

Exercise: Testing if MySQL is running
Create a PHP script called 'TestSQL.php'.  Then add the following to that file.

<?php
mysql_connect("localhost","yourUserName","yourPassword") or die("Uh Oh, Could not connect");

$Version = mysql_get_server_info();
$HostInfo = mysql_get_host_info();
print "My current MySQL version is: $Version<br>On $HostInfo";
?>

Make sure to replace "yourUserName" and "yourPassword" with the ones you choose above.  Then place this file into your htdocs folder and open up: http://localhost/TestSQL.php - This should result in 2 lines being printed to the screen - saying something like "My current MySQL version is: 3.23.49  On localhost via TCP/IP".  If that was successful then MySQL is up and running.  You should also see a Stop Light Icon on your task bar - The light will be Green if mySQL is running.  You can use that to display some system info (select show me) if wanted.

That's about it for MySQL. The next section will go into detail on one Web based tool that easily allows you to create new database, tables, and the over all structure of your database along with some simple examples.  For those of you that are more comfortable with the command line MySQL can also be used by opening up a DOS prompt to the C:\mysql\bin directory and typing in MySQL - then you can go on to do whatever you want with MySQL.  This is virtually the same as using Telnet to access MySQL on a Unix server.  However since many of us are not really comfortable with the Command line option - we'll be using a Tool called PHPMyAdmin that avoids this and makes MySQL really really easy to use!

For information on using the command line from the DOS prompt or from Telnet read the first part of this

For further information on MySQL and a great reference manual visit - http://www.mysql.com/doc/.

Current Page (6) << Previous Page | Next Page >> 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9