[X] Choose Font Here

MySQL Instllation

 

MySQL ကို Install လုပ္ပါ္္မယ္္္ ဒီ Link ေလးမွာ Download လုပ္လို ့ရပါတယ္္္


a. Setup.exe
b. SQLyog520.exe(IDE)

 

အရင္ဆံုး Setup.exe ကို Install လုပ္လိုက္ပါ…Installation လုပ္တဲ ့Step ေတြထဲမွာ သတိထားရမယ့္ Step

ကေတာ ့ဒီပံု ေလးကုိပဲၾကည့္လိုက္ပါ…


Install အားလံုးျပီးသြားရင္ SQLyog 520.exe ကို ထပ္ျပီး Install လုပ္လိုက္ပါ…အဲ့ဒါကေတာ့ MySQL IDE ေပါ့…

SQLyog520.exe ျပီးရင္ေတာ့ Installation ျပီးပါျပီ…ဒါေပမယ့္ PHP နဲ ့MySQL ကို Connect လုပ္ဖို ့ Configuration

လုပ္ေပးရပါမယ္…

PHP & MySQL Configuration


ခုနတုန္းက Install လုပ္ထားတဲ့ php folder ကို သြားလိုက္ပါ…ျပီးရင္ php.inn file ကို ဖြင့္လိုက္ပါ…

ျပီးရင္ ;extension = php-mysql.dll နဲ ့ ;extension = php-mysqli.dll ကိုရွာလိုက္ပါ…

ေရွ ့့ဆံုးက semi comma ေတြကိုျဖဳတ္လိုက္ပါ…ဒီလိုျဖစ္သြားပါလိမ့္မယ္…


extension = php-mysql.dll
extension = php-mysqli.dll

ျပီးရင္ Apache service ကို Restart လုပ္လိုက္ပါ…ဒီ Sample Program ေလးကို Run ၾကည့္လိုက္ပါ..

<?php

$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}else{

echo "Connected to DB";

}

?>

ဒီ program ေလးကို htdocs ေအာက္မွာ connect.php ဆိုျပီး save လုပ္လိုက္ပါ္္ Browser ကေန http://localhost/connect.php

ဆိုျပီး Run ၾကည့္လိုက္ပါ္္Browser မွာ Connected to DB ဆိုရင္ေတာ့ PHP နဲ ့MySQL အလုပ္ျဖစ္သြားျပီလို ့ေျပာနိဳင္ပါတယ္

တကယ္လို ့ connect လုပ္လို ့မရခဲ ့ရင္ေတာ့ ကၽြန္ေတာ္ ျဖစ္ခဲ့ ဘူးတဲ့ အတိုင္း လုပ္ၾကည့္ေစခ်င္ပါတယ္တစ္ခါက Computer တစ္ခုမွာ

PHP နဲ ့MySQL ကုိ္ ဘယ္လို မွ connect လုပ္လို ့မရဘူးphp.ini file မွာလည္း ျပင္ျပီးျပီ…Apache service လည္း Restrat လုပ္တာ

ဆယ္ခါေလာက္ရွိ ေနျပီ သံသယ ၀င္လာလို ့ php ကို Install ျပန္လုပ္တာလည္း ငါးခါေလာက္ရွိေနျပီ…ဘယ္လို မွကို connect

လုပ္လို ့မရဘူး

 

Google မွာရွာရင္းနဲ ့ ေနာက္ဆံုးမွာ အေျဖကို ေတြ ့သြားခဲ့တယ္…အေျဖက ဒီလိုပါ…ဒီ dll ေလးကို download လုပ္လိုက္ပါ…

libmysql.dll ကို php folder ေအာက္မွာထည့္လိုက္ပါ…ျပီးရင္ c:\window folder ေအာက္မွာလည္း ထည့္ထားလိုက္ပါ…

Apache service ကို Restart လုပ္လိုက္ပါ…အားလံုးျပီးရင္ http://localhost/connect.php ကိုျပန္ Run ၾကည့္လိုက္ပါ...

ရမယ္လို ့ေမွ်ာ္လင့္ပါတယ္...မရခဲ့ရင္လည္း ကၽြန္ေတာ့္ကိုျပန္ေျပာပါ…ကၽြန္ေတာ္သိသေလာက္ျပန္ေျဖေပးပါ့မယ္…

 

 

Comments (15)
  • aunglay

    My browser not appear Connected to DB in Php & mySQL Configuration done.

  • admin  - PHP & MySQL config

    aunglay ဘယ္လို configuration လုပ္တယ္ ဆိုတာ Details ကို Forum မွာ ဝင္ေရး ေပးပါလား။ ကြၽန္ေတာ္ ကူျပီး စဥ္းစား ေပးပါမယ္။

  • Daywalekr  - Thk

    ေက်းဇူးပဲ) 19;်...၊ ဒီစာမ်က္ႏွ ာေလး ေတာ္ေတာ္ေက ာင္းရဲ႕နဲ႔ လူသိနည္းေန ေသးတယ္။ တျဖည္းျဖည္ း သိလာၾကမွာပ ါ၊ ဆက္လက္ေဝမွ ်ေပးၾကပါ။

  • eithetmon

    mySql ကို download လုပ္လို႕မရ ဘူး
    registary booster တင္ခိုင္းေ နတယ္

  • Ellipse

    ဒီ site ေလးကိုအစ္မ တစ္ေယာက္ေပ းလို႕သိခဲ့ တာပါ။
    ဒီထဲမွာေရး ထားတဲ့ PHP အေၾကာင္းေလ းကိုေတာ္ေတ ာ္သေဘာက်ပါ တယ္။ေနာ္ကထ ပ္လဲဆက္လက္ ျပီး
    ေရးသားေပးပ ါအံုး ။

  • admin  - Re: Ellipse

    ခုလိုလာဖတ) 53;တာ ေက်းဇူးပါပ ဲခင္ဗ်ာ။ ကြၽန္ေတာ္ ဆက္ေရးသြား မွာပါ။

  • Yan  - Problem in connection php and Mysql

    Hi, bro
    I am facing a problem above title. I searched the php.ini file as u told but not found
    in php folder. I saw in Php configuration notepad. May I know what's is wrong? And guide me mysql installatioin first step setup..in it, many selection , I don't know how to choose in configuration. I did libmysql.dll as u told. but not OK , I off and on restart the appache server.Help me , thz

  • admin  - Re: Yan

    ခုမွ စျပီးေလ့လာ မယ့္သူေတြ အဖို႔ xampp ကိုသာ install လုပ္သင့္ပါ တယ္။ apache,php,mysql က package အေနနဲ႔ ပါျပီးသား ဆိုေတာ့ တစ္ခုခ်င္း စီကို configuration လုပ္ေပးစရာ မလိုဘူး။ ဒီ link မွာ အရင္ဖတ္ၾကည ့္ လိုက္ပါ။http://www.kei tr.com/tutorials/xampp
    မရရင္ ျပန္ေျပာေလ ။ ကြၽန္ေတာ္ xampp installation ကိုျမန္မာလ ို ေရးေပးပါမယ ္။ This is youtube link.
    http://www.youtube.com/watch?v=kdexw1srOfg

  • searcher  - MySQL Database Error

    hi,
    bro
    Administrator (backend) မွာ
    site ေအာက္က global configuration ေအာက္က
    server မွာ Databasetype: Mysql ေအာက္က
    username နဲ. password ကို change ၿပီး apply လုပ္တာ "Database Error: Unable to connect to the database:Could not connect to MySQL"
    ဆုိတဲ. error ေတြ.တယ္...
    အ၇င္ user name နဲ. password ကုိ ဘယ္လုိ ၿပန္ခ်ိ္န္ းရမလဲ administrator ကုိ ၿပန္၀င္လုိ .မရေတာ.ဘူး ... ရွင္းၿပေပး ပါဦး ေက်းဇူးတင္ ပါတယ္

  • admin  - Re: searcher

    joomla folder ထဲမွာ configuration.php ဆိုတာရွိတယ ္။ အဲဒီမွာ Site တစ္ခုလုံးရ ဲ႕ Setting ေတြအားလုံး ကို သိမ္းထားတယ ္။
    var $user = 'xxxxx';
    var $password = 'xxxxx';
    မွာ အရင္ဟာကို ျပန္ထည့္ေပ း လိုက္ရင္ရျ ပီဗ်ာ။

  • Anonymous

    hello,brother where can i find asp.net e-book. please help me . i want to get asp.net e-book.
    i know you were busy but please help me

  • admin  - re:
    Anonymous wrote:
    hello,brother where can i find asp.net e-book. please help me . i want to get asp.net e-book.
    i know you were busy but please help me

    Hi,
    Yes, you can find at here:
    http://www.4shared.com/

    Cheer!
    Zack

  • tinzar

    အရမ္းေကာင္းတဲ့ site ေလးပါ..သိတာေတာင္ေနာက္က်သြားသလုိပဲ
    သူငယ္ခ်င္းေတြသိေအာင္လည္းျဖန္ ့ေ၀ေပးလုိက္ပါ့မယ္..
    ဆက္လက္တုိးတတ္ပါေစ..

  • Anonymous

    ညီမက csharp ကိုေလ့လာေနသူပါ။ tutorial ေလးေတြလုပ္ခ်င္လုိ႔ ဘယ္site ေတြကိုေလ႔လာရမလဲဆိုတာ ထိထိေ၇ာက္ေ၇ာက္ရွိမဲ႔siteေလးေတြ ေျပာျပေပးပါဦးေနာ္

  • admin  - Re:

    Hi, there are a lot of tutorials with english version. But there are 2 site with MM languages as far as i know.
    1) http://myanmaraspnet.multiply.com/
    2) http://sevenlamp.wordpress.com/

Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.

Login Form

Categories Table View

JoomlaWatch Stats 1.2.9 by Matej Koval

Facebook Share

Share on facebook

Accordion FAQ

mod_joomtouch

Version Iphone

Version Iphone by JoomTouch