Showing posts with label MySql. Show all posts
Showing posts with label MySql. Show all posts

Tuesday, April 9, 2013

Install MySQL on Windows 7


Introduction


Download MySQL

Uninstall any previous versions through Control Panel prior to install.

MySQL is 'Open Source' software that is undergoing constant development.

At the time of writing this guide there are two later versions available
1. MySQL 5.5 is the current development release series
2. MySQL 5.1 is the current General Availability (Production) release series

I recommend you dowload the latest General Availability (GA) version as it has undergone extensive testing and is considered 'stable'.
To check which is the latest GA version click here - http://dev.mysql.com/doc/refman/5.1/en/choosing-version.html

The download you need for Windows is 'MSI Installer' for your system
mysql-essential-X.XX.XX-win32.msi - for 32 bit Windows OR
mysql-essential-X.XX.XX-winx64.msi - for 64 bit Windows


You must exit all other programs, in particular Anti Virus programs.

The install outlines here was on a 64bit system and is identical to 32 bit install.

Should you experience errors with the install - see NOTES below

Step 1

Navigate to the folder you downloaded to and click on install package.



Step 2

You may receive this security warning - click Run


Step 3

Click Next >


Step 4

You may select Typical if you are have a limited hard disk capacity.
I recommend Complete install.
Click Next >


Step 5

You are now ready to install - click Install


Step 6

Click Next >


Step 7

Click Next >


Step 8

Tick Configure the MySQL Server now
Registration is optional.
Click Finish


Step 9

Click Next >


Step 10

Your will only see this screen if you have previously installed or patrially installed this version of MySQL
If not previously installed go to Step 11
Select Reconfigure Instance then click Next >


Step 11

Select Detailed Configuration then click Next >


Step 12

Select Developer Machine then click Next >


Step 13

Select Non-Transactional Database Only then click Next >


Step 14

Select Decision Support (DSS)/OLAP then click Next >


Step 15

Select both (default) options: Enable TCP/IP Networking and Enable Strict Mode then click Next >


Step 16

Select (Default) Standard CharacteSet then click Next >


Step 17

Select both options: Install As Windows Service and Include Bin Directory in Windows Path then click Next >

Note: if you have installed an earlier version of MySQL the default Service Name: MySQL will not be available as it is already in use.
You MUST uninstall previous version to use the default Service Name


Step 18

If you have a previous install you must enter Current root password - if no previous install you will not see this
Enter New root password and Confirm
Make sure you record the Root Password
Note: The default username is root.
It is recommended to change this setting up PHPMyAdmin or MySQL Command Line Client (advanced)
Click Next >


Step 19

Click Execute to configure your database server.


NOTES
Should you receive any error messages when installing then cancel the install
Go to 'Control Panel' and remove MySQL
Before reinstalling shut down & restart then close all programs, including Anti Virus and reinstall.
If problem persists, more likely with 64 bit install, try downloading the current development release and installing.
Help can also be found at http://www.mysql.com/

NOTE: This drove me nuts for a while creating all sorts of errors in php code I was using
For some reason Microsoft thought we all required Military grade security and enabled 'Strict Mode' by default in MySQL.
This would only be required by securty & government agencies, eg my ISP disable on their server.
You can surf around on Google to read up on it & the various complex methods to disable it or keep reading.

To disable Strict Mode the easy way
Open your my.ini file
located at C:\Program Files\MySQL\MySQL Server 5.5\my.ini in your text editor (eg notepad)
Use control F (push Ctrl & F keys on keyboard together) and search for 'Strict'
locate this

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Change to this

# Set the SQL mode to strict
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

or you can delete these lines altogether

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

by placing the hash (#) in front it disables Strict Mode

I recommend the (#) method so the lines are still there if you ever need enable 'Strict Mode' again (if you become a high security programmer!)

Then simply save the file in it's original location (eg click File then 'Save').

Mission Complete!!!




The next logical step is to install phpMyAdmin as a graphical front end - see link below.

Monday, April 8, 2013

MySql: Give Root User Logon Permission From Any Host


Note that this is Not very secure, and should only be used for a local development box where you don’t feel like setting up individual permissions, but still need to connect from other machines.
To configure this feature, you’ll need to update the mysql user table to allow access from any remote host, using the % wildcard.
Open the command-line mysql client on the server using the root account.
mysql -uroot
Then you will want to run the following two commands, to see what the root user host is set to already:
use mysql;
select host, user from user;
Here’s an example of the output on my database, which is pretty much the default settings. Note that ubuntuserv is the hostname of my server.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select host,user from user;
+—————+——————+
| host | user |
+—————+——————+
| ubuntuserv | root |
| localhost | debian-sys-maint |
| localhost | root |
+—————+——————+
3 rows in set (0.00 sec)
Now I’ll update the ubuntuserv host to use the wildcard, and then issue the command to reload the privilege tables. If you are running this command, substitute the hostname of your box for ubuntuserv.
update user set host=’%’ where user=’root’ and host=’ubuntuserv’;
flush privileges;
That’s all there is to it. Now I was able to connect to that server from any other machine on my network, using the root account.
Again, note this isn’t very secure, and you should at least make sure that you’ve set a root password.

Tuesday, November 22, 2011

How to Change Database Collation to UTF-8

How to Change Database Collation to UTF-8


In some web hosting, They use Cpanel and Fantastico installer. It will automatic install your website and database. So You can not set your database collation by yourseft.

How to Change Database Collation 01 

Cpanel Interface



Bad luck, Some web hosting set the default database collation to Latin Swedish. But if you wanna do Thai, Chinese, Korean Website. You need to set the collation of database to UTF-8.

How to Change Database Collation 02

How to change this!!!!



If the database is not UTF-8, The display of your language will not display correctly.

How to Change Database Collation 03

As you can see in this picture.



Don't worry there's a way :)


For changing the collation of database, You can manually do it in notepad or dreamweaver.
But it's not very easy to do. So I will explain you the easiest way:

Step 1. You have to download Tool from Phoca for Changing Collation (Click here to Download). It's very great.

Step 2. After finish downloading, Right click and extract the file to your PC. (If you have WinZip, orWinRAR, etc.)

How to Change Database Collation 04

Step 3. You will see the folder name tool_phoca_changing_collation.... (Tooooo long name). Rename the folder to collation.

How to Change Database Collation 05

How to Change Database Collation 06

Rename the folder name to collation



Step 5. Uploading the folder to the root of your website.

How to Change Database Collation 07


Step 6. Okay, It's almost finish... Open your web browser and enter this URL: (Yourdomainname/collation/index.php)

How to Change Database Collation 08


Step 7. You will see this screen appear.

How to Change Database Collation 09

Step 8. Enter the field and click Submit
  • Database Host: Enter your host name
  • Database User: Enter your username for connecting to database
  • Database Password: Enter your password
  • Database Name: Enter your database name
  • Database Collation: utf8_general_ci


Step 9. Finish!!! Now the database change to UTF-8, Check your website and see the language display!

How to Change Database Collation 10
How to Change Database Collation 11


Thanks, Phoca Team Developer for this great stuff!!! :)

Monday, October 24, 2011

āļˆāļ°āļĒ้āļēāļĒ data path āđƒāļ™ MySQL 5.0 āļ­āļĒ่āļēāļ‡āđ„āļĢ?


         āļŦāļĨัāļāļāļēāļĢāļ—ั่āļ§āđ„āļ›āļ‚āļ­āļ‡āļāļēāļĢāļĒ้āļēāļĒ data path āļšāļ™ MySQL 5.0 āļ™ั้āļ™ āļ­āļēāļˆāļ”ูāļ‹ัāļšāļ‹้āļ­āļ™āļāļ§่āļē MySQL 3.23 āļ—ี่āļ„ุ้āļ™āđ€āļ„āļĒ āļŦāļĢืāļ­āļāļĢāļ°āļ—ั้āļ‡ MySQL 4 āļ•ัāļ§āļœāļĄāđ€āļ­āļ‡āļ™ั้āļ™āļœāļĄāđ€āļĨ่āļ™āļˆāļēāļ MySQL 3.23 āđāļĨ้āļ§āļ§๊āļēāļ›āļĄāļēāđ€āļ›็āļ™āđ€āļ§āļ­āļĢ์āļŠัāļ™ 5.0 āđ€āļĨāļĒ āđ€āļžāļĢāļēāļ°āđ„āļĄ่āļŠāļ­āļšāđ€āļ§āļ­āļĢ์āļŠัāļ™ 4 āđ€āļ­āļēāđ€āļŠีāļĒāđ€āļĨāļĒ āđ€āļ™ื่āļ­āļ‡āļˆāļēāļāđ€āļ›็āļ™āđ€āļ§āļ­āļĢ์āļŠัāļ™āļ„āļĢึ่āļ‡āļœีāļ„āļĢึ่āļ‡āļ„āļ™āđ€āļี่āļĒāļ§āļัāļšāļ āļēāļĐāļēāđ„āļ—āļĒ āļŠāļĄัāļĒāļ—ี่āļœāļĄāļĒัāļ‡āđ€āļŠ่āļē hosting āļŠāļēāļ§āļš้āļēāļ™āđ€āļ‚āļēāļ—ี่ us-based server āļœāļĄāđ€āļˆāļ­āļ›ัāļāļŦāļē 108 āļˆāļĢิāļ‡āđ† āļ„āļĢัāļš (āđ‚āļ”āļĒāđ€āļ‰āļžāļēāļ°āđ€āļĢื่āļ­āļ‡āļ āļēāļĐāļēāđ„āļ—āļĒ) āļŦāļĨัāļ‡āđ† āđ„āļĄ่āđ€āļˆāļ­āđāļĨ้āļ§āļ„āļĢัāļš āđ€āļžāļĢāļēāļ°āļĄีāđ€āļ‹ิāļĢ์āļŸāđ€āļ§āļ­āļĢ์āđ€āļ›็āļ™āļ‚āļ­āļ‡āļ•āļ™āđ€āļ­āļ‡āđāļĨ้āļ§ āļŠั่āļ‡āđ€āļ­āļ‡āļ—ุāļāļ­āļĒ่āļēāļ‡āđ„āļ”้āļ”ัāļ‡āđƒāļˆāļŦāļĄāļēāļĒ āļāļ§่āļēāļˆāļ°āđ€āļ็āļšāđ€āļĨ็āļāļœāļŠāļĄāļ™้āļ­āļĒāļˆāļ™āļžāļ­āļĄีāđ€āļ‡ิāļ™āļĄāļēāļ‹ื้āļ­āđ€āļ‹ิāļĢ์āļŸāđ€āļ§āļ­āļĢ์āđ€āļ›็āļ™āļ‚āļ­āļ‡āļ•ัāļ§āđ€āļ­āļ‡āđ„āļ”้ āļ็āđ€āļĨ่āļ™āđ€āļ­āļēāđ€āļŦāļ™ื่āļ­āļĒāļŠāļ™ิāļ”āļŦืāļ”āļ‚ึ้āļ™āļ„āļ­āđ€āļŦāļĄืāļ­āļ™āļัāļ™āļ„āļĢัāļš :)
          āļŠāļģāļŦāļĢัāļšāļšāļ™ MySQL 5.0 āļ™ั้āļ™āļŠāļ™ัāļšāļŠāļ™ุāļ™ utf-8 (āļĢāļŦัāļŠāļ­ัāļāļĐāļĢ unicode āđ€āļ•็āļĄāļžิāļัāļ”) āļ”ัāļ‡āļ™ั้āļ™āļ„ุāļ“āļˆāļ°āđ„āļĄ่āđ€āļˆāļ­āļ›ัāļāļŦāļēāđƒāļ™āļāļēāļĢāđ€āļ็āļšāļ‚้āļ­āļĄูāļĨāļŦāļĨāļēāļĒāđ† āļ āļēāļĐāļēāļĨāļ‡āļšāļ™āļŸิāļĨāļ”์āđ€āļ”ีāļĒāļ§āļัāļ™ āđ„āļĄ่āļ•้āļ­āļ‡āļĄāļēāļ™ั่āļ‡āđāļĒāļāļŸิāļĨāļ”์āļ‚āļ­āļ‡āđ€āļ—āđ€āļšิāļĨāđ€āļžื่āļ­āđ€āļ็āļšāđāļĒāļāļ‚้āļ­āļĄูāļĨāđ€āļŦāļĄืāļ­āļ™āđƒāļ™āđ€āļ§āļ­āļĢ์āļŠัāļ™āļ่āļ­āļ™āđ† āđ€āļŠ่āļ™ āđ„āļ—āļĒ āļ­ัāļ‡āļāļĪāļĐ āđ€āļĒāļ­āļĢāļĄัāļ™  3 āļ āļēāļĐāļēāļŸิāļĨāļ”์āđ€āļ”ีāļĒāļ§āļัāļ™  āļ­āļĒ่āļēāļ‡āļ™ี้āđ„āļĄ่āļĄีāļ›ัāļāļŦāļē āđ€āļžāļĢāļēāļ°āļ–้āļēāđ„āļĄ่āđƒāļŠ่āļĢāļ°āļšāļš unicode āđāļĨ้āļ§ āļŠāļĢāļ°āļ āļēāļĐāļēāđ„āļ—āļĒāļĄัāļ™āļˆāļ°āđ„āļ›āļ•ีāļัāļšāļŠāļĢāļ°āļ‚āļ­āļ‡āļ āļēāļĐāļēāđ€āļĒāļ­āļĢāļĄัāļ™ āļāļĨāļēāļĒāđ€āļ›็āļ™āđ„āļĄ้āļ•āļĢี āđ„āļĄ้āļˆัāļ•āļ§āļēāļ›āļĢāļēāļāļāļšāļ™āļ āļēāļĐāļēāđ€āļĒāļ­āļĢāļĄัāļ™āļĄั่āļ‡ āļŦāļĢืāļ­āļ āļēāļĐāļēāļ­āļ°āđ„āļĢāļ็āļ•āļēāļĄ āļ—ี่āļ”ัāļ™āļ—āļ°āļĨึ่āļ‡āđ„āļ›āļĄีāđ‚āļ„้āļ”āļ•āļĢāļ‡āļัāļšāļŠāļĢāļ°āļ‚āļ­āļ‡āļ āļēāļĐāļēāđ„āļ—āļĒ āļ āļēāļĐāļēāļ™ั้āļ™āļˆāļ°āļĄีāļ›ัāļāļŦāļēāļŦāļĄāļ”āļ„āļĢัāļš

āļ§āļāļāļĨัāļšāđ€āļ‚้āļēāđ€āļĢื่āļ­āļ‡āļัāļ™āļ•่āļ­ āļŦāļĨัāļāļāļēāļĢāļ•ิāļ”āļ•ั้āļ‡āđƒāļŦ้ MySQL 5.0 āļĄัāļ™āđ€āļ็āļš data path āđāļĒāļāđ„āļ›āļ•āļēāļĄāļ—ี่āļ•้āļ­āļ‡āļāļēāļĢāđƒāļŦ้āļ—āļģāļ”ัāļ‡āļ™ี้āļ„āļĢัāļš
          1. āđƒāļ™āļāļēāļĢāļ•ิāļ”āļ•ั้āļ‡ MySQL 5.0 āļ–้āļēāļ­āļĒāļēāļāđƒāļŦ้ data path āđ€āļ็āļšāļ­āļĒู่āļ—ี่āđ„āļ”āļĢāļŸ์āđ„āļŦāļ™ āđƒāļŦ้āļ•ิāļ”āļ•ั้āļ‡ MySQL āđ„āļ§้āļ—ี่āđ„āļ”āļĢāļŸ์āļ™ั้āļ™ āđ€āļŠ่āļ™ āđƒāļ™āļ„āļ­āļĄāļžิāļ§āđ€āļ•āļ­āļĢ์āđ€āļĢāļēāļĄีāđ„āļ”āļĢāļŸ์ C āđāļĨāļ°āđ„āļ”āļĢāļŸ์ D āđ€āļĢāļēāļ­āļĒāļēāļāđƒāļŦ้āļ‚้āļ­āļĄูāļĨ data āļ‚āļ­āļ‡ MySQL āļ­āļĒู่āļ—ี่āđ„āļ”āļĢāļŸ์ D āļ็āđƒāļŦ้āđ€āļĢāļēāļ•ิāļ”āļ•ั้āļ‡ MySQL āđ„āļ§้āļ—ี่āđ„āļ”āļĢāļŸ์ D āđ€āļŠ่āļ™ D:\MySQL5 āļŦāļĨัāļ‡āļˆāļēāļāļ™ั้āļ™ āļ„ุāļ“āļœู้āļ­่āļēāļ™āļ็āļ•ิāļ”āļ•ั้āļ‡ MySQL āđ„āļ›āļ•āļēāļĄāļ›āļāļ•ิāļ—ี่āđ€āļ„āļĒ (āļ­āļĒ่āļēāļĨืāļĄāļŠั่āļ‡ stop Apache āļ่āļ­āļ™āļ™āļ° āđāļĨ้āļ§āļ็āļ­āļĒ่āļēāļĨืāļĄāļ›ิāļ” Firewall application āļ่āļ­āļ™āļˆāļ°āđ€āļĢิ่āļĄāļ•ิāļ”āļ•ั้āļ‡ MySQL āļ”้āļ§āļĒāļ™āļ°āļ„āļĢัāļš āđ‚āļ”āļĒāđ€āļ‰āļžāļēāļ°āļžāļ§āļ Firewall application āļ—ั้āļ‡āļŦāļĨāļēāļĒāļĄัāļ™āļˆāļ°āļ”ัāļ port āđ„āļ§้ āļ—āļģāđƒāļŦ้ MySQL āļ•ิāļ”āļ•ั้āļ‡āđ„āļĄ่āđ„āļ”้)
           2. āļžāļ­āļ•ิāļ”āļ•ั้āļ‡ MySQL āđ€āļŠāļĢ็āļˆāđāļĨ้āļ§ āđƒāļŦ้āđ„āļ›āđ€āļ›ิāļ”āđ„āļŸāļĨ์ my.ini āđāļĨ้āļ§āļĄāļ­āļ‡āļŦāļēāļšāļĢāļĢāļ—ัāļ”āļ™ี้āļ„āļĢัāļš (āļ–้āļēāļ„ุāļ“āļ•ิāļ”āļ•ั้āļ‡ MySQL āđƒāļ™ D:\MySQL5 āđ„āļŸāļĨ์ my.ini āļˆāļ°āļ­āļĒู่āļ—ี่                     
D:\MySQL5\my.ini)
#Path to the database root
datadir="D:/MYSQL5/Data/"
āļˆāļēāļāļ™ั้āļ™āđƒāļŦ้āđāļ้āđ€āļ›็āļ™ path āļ—ี่āļ„ุāļ“āļ•้āļ­āļ‡āļāļēāļĢ āđ€āļŠ่āļ™āļœāļĄāļ­āļĒāļēāļāļˆāļ°āđ€āļ็āļšāđ„āļ§้āļ—ี่ d:/mysql_data/ āļ็āđƒāļŦ้āļžิāļĄāļž์āđāļšāļšāļ‚้āļēāļ‡āļĨ่āļēāļ‡āļ™ี้ 
āļ‚้āļ­āļ„āļ§āļĢāļĢāļ°āļ§ัāļ‡āđƒāļŦ้āđƒāļŠ้ forward slash "/" āļ™āļ°āļ„āļĢัāļš āđ„āļĄ่āđƒāļŠ่ back slash "\"
#Path to the database root
datadir="D:/mysql_data/"

          3. āļ–้āļēāļ„ุāļ“āļ•้āļ­āļ‡āļāļēāļĢāļ›āļĢัāļšāđāļ•่āļ‡āđ€āļžิ่āļĄāđ€āļ•ิāļĄ āļ็āđƒāļŦ้āļ”ูāļšāļĢāļĢāļ—ัāļ”āļ•่āļ­āđ„āļ›āļ™ี้āđ€āļžิ่āļĄāļ”้āļ§āļĒāļ็āđ„āļ”้
# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=utf8
āļšāļĢāļĢāļ—ัāļ”āļ‚้āļēāļ‡āļšāļ™āļ™ี้āđƒāļŦ้āļāļģāļŦāļ™āļ” default character set āđ€āļ›็āļ™ utf-8 āļ–้āļēāđ„āļĄ่āļŠāļ­āļšāļ็āđ€āļ›āļĨี่āļĒāļ™āđ„āļ”้ (āđāļ™āļ°āļ™āļģāļ§่āļēāđ€āļ›็āļ™ utf8 āļ™ั้āļ™āļ”ีāļ—ี่āļŠุāļ”āđāļĨ้āļ§āļ„āļĢัāļš)
# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
āļ–้āļēāļ„ุāļ“āđ„āļĄ่āļŠāļ­āļšāļāļēāļĢāļāļģāļŦāļ™āļ” default engine āđ€āļ›็āļ™ INNODB āļ็āļŠāļēāļĄāļēāļĢāļ–āđ€āļ›āļĨี่āļĒāļ™ MyISAM āđ„āļ”้ āļ”ัāļ‡āļšāļĢāļĢāļ—ัāļ”āļ‚้āļēāļ‡āļĨ่āļēāļ‡
# The default storage engine that will be used when create new tables when
default-storage-engine=MyISAM
āļ„āļ§āļēāļĄāļ•่āļēāļ‡āļ‚āļ­āļ‡ INNODB āļัāļš MyISAM āļ็āļ„ืāļ­ MyISAM āļ—āļģāļ‡āļēāļ™āđ„āļ”้āđ€āļĢ็āļ§āļāļ§่āļē āđāļ•่āđ„āļĄ่āļŠāļēāļĄāļēāļĢāļ–āļ—āļģ loop back transaction āđ„āļ”้ āļ–้āļēāđƒāļŠ้āđ€āļ›็āļ™ INNODB āļˆāļ°āļŠāļēāļĄāļēāļĢāļ–āļ—āļģ loop back transaction āđ„āļ”้ āļāļĢāļ“ีāļ‚āļ­āļ‡ INNODB āļĄัāļāļ™ิāļĒāļĄāđƒāļŠ้āļัāļš transaction āļ—ี่āđ€āļี่āļĒāļ§āļัāļšāļĢāļ°āļšāļšāļāļēāļĢāđ€āļ‡ิāļ™ āļŦāļĢืāļ­āļāļēāļĢāļŠāļģāļĢāļ°āđ€āļ‡ิāļ™āđ€āļ›็āļ™āļ•้āļ™
āđ€āļĄื่āļ­āļ›āļĢัāļš config āđ€āļŠāļĢ็āļˆāđ€āļĢีāļĒāļšāļĢ้āļ­āļĒāđāļĨ้āļ§āļ็āļŠั่āļ‡ save āđ„āļŸāļĨ์

         4. āđ„āļ›āļ—ี่āđ‚āļŸāļĨāđ€āļ”āļ­āļĢ์ D:\MYSQL5\data āđāļĨ้āļ§ copy āļ—ั้āļ‡āļŦāļĄāļ”āļ—ี่āļĄีāđƒāļ™āļ™ั้āļ™ āđ„āļ›āđ„āļ§้āļ—ี่ D:/mysql_data/"
(āļ­āļĒ่āļēāļĨืāļĄāļŠั่āļ‡ folder option āđƒāļ™ windows āđƒāļŦ้āđāļŠāļ”āļ‡ hidden file āļัāļš hidden system file āļ่āļ­āļ™āļ™āļ°āļ„āļĢัāļš āđ„āļĄ่āļ‡ั้āļ™āļˆāļ°āļĄāļ­āļ‡āđ„āļĄ่āđ€āļŦ็āļ™āđ„āļŸāļĨ์āļ­āļ°āđ„āļĢ)

āļ–้āļē copy āļ–ูāļāļ•้āļ­āļ‡ āļˆāļ°āļ›āļĢāļ°āļāļ­āļšāđ„āļ›āļ”้āļ§āļĒāđ‚āļŸāļĨāđ€āļ”āļ­āļĢ์āļŠื่āļ­ mysql āđāļĨāļ° test āđāļĨ้āļ§āļ็āļĄีāđ„āļŸāļĨ์ ib_logfile0, ib_logfile1, ibdata1 āđāļĨāļ° microsof-xxxx (xxxx āļ„ืāļ­āļ„่āļēāļ—ี่āļœัāļ™āļ•āļēāļĄāđ€āļ„āļĢื่āļ­āļ‡āļ„ุāļ“)

         5. āļˆāļēāļāļ™ั้āļ™āđ„āļ›āļ—ี่ start->setting->control panel->Performance and Maintenance->Administrative Tools->Services

āļžāļ­āđ€āļ›ิāļ”āļŠ่āļ§āļ™ Services āļ‚ึ้āļ™āļĄāļēāđāļĨ้āļ§ āđƒāļŦ้āļĄāļ­āļ‡āļŦāļēāļšāļĢāļĢāļ—ัāļ”āļ—ี่āđ€āļ‚ีāļĒāļ™āļ§่āļē MySQL āļˆāļēāļāļ™ั้āļ™āļ็ drag āļ‚āļ§āļēāļ—ี่āļšāļĢāļĢāļ—ัāļ”āļ™ี้āđāļĨ้āļ§āļŠั่āļ‡ stop āđāļĨ้āļ§ āļ„่āļ­āļĒ start āđƒāļŦāļĄ่

         6. āļĨāļ­āļ‡āđ€āļ›ิāļ”āļ”ู http://localhost/phpmyadmin āđāļĨ้āļ§āļĨāļ­āļ‡āļŠāļĢ้āļēāļ‡ table āļŦāļĢืāļ­ database āļ­āļ°āđ„āļĢāļ็āđ„āļ”้ āđāļĨ้āļ§āđ„āļ›āļ”ูāļ—ี่ d:/mysql_data āļ§่āļēāļĄีāļŠื่āļ­ table āļŦāļĢืāļ­ database āļ‚ึ้āļ™āļ•āļēāļĄāļ™ั้āļ™āđ„āļŦāļĄ āļ–้āļēāļĄีāļ็āđ€āļ›็āļ™āļ­ัāļ™āļ§่āļēāđ‚āļ›๊āļ°āđ€āļŠ๊āļ° ok āđ€āļĢีāļĒāļšāļĢ้āļ­āļĒāđāļĨ้āļ§āļŦāļĨāļ°āļ„āļĢัāļš