MySQL Instllation
Wednesday, 17 September 2008 09:05
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 ၾကည့္လိုက္ပါ...
ရမယ္လို ့ေမွ်ာ္လင့္ပါတယ္...မရခဲ့ရင္လည္း ကၽြန္ေတာ့္ကိုျပန္ေျပာပါ ကၽြန္ေတာ္သိသေလာက္ျပန္ေျဖေပးပါ့မယ္
-
2009-01-05 14:33:42 |SAdministrator| admin - PHP & MySQL config
aunglay ဘယ္လို configuration လုပ္တယ္ ဆိုတာ Details ကို Forum မွာ ဝင္ေရး ေပးပါလား။ ကြၽန္ေတာ္ ကူျပီး စဥ္းစား ေပးပါမယ္။
-
ေက်းဇူးပဲ) 19;်...၊ ဒီစာမ်က္ႏွ ာေလး ေတာ္ေတာ္ေက ာင္းရဲ႕နဲ႔ လူသိနည္းေန ေသးတယ္။ တျဖည္းျဖည္ း သိလာၾကမွာပ ါ၊ ဆက္လက္ေဝမွ ်ေပးၾကပါ။
-
2009-07-02 09:58:25 |203.81.166.xxx| eithetmon
mySql ကို download လုပ္လို႕မရ ဘူး
registary booster တင္ခိုင္းေ နတယ္
-
2009-09-16 05:21:03 |212.116.219.xxx| Ellipse
ဒီ site ေလးကိုအစ္မ တစ္ေယာက္ေပ းလို႕သိခဲ့ တာပါ။
ဒီထဲမွာေရး ထားတဲ့ PHP အေၾကာင္းေလ းကိုေတာ္ေတ ာ္သေဘာက်ပါ တယ္။ေနာ္ကထ ပ္လဲဆက္လက္ ျပီး
ေရးသားေပးပ ါအံုး ။
-
2009-09-21 12:20:19 |SAdministrator| admin - Re: Ellipse
ခုလိုလာဖတ) 53;တာ ေက်းဇူးပါပ ဲခင္ဗ်ာ။ ကြၽန္ေတာ္ ဆက္ေရးသြား မွာပါ။
-
2009-11-24 04:04:41 |58.10.90.xxx| 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
-
2009-11-24 06:11:12 |SAdministrator| 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
-
2009-11-27 10:30:16 |58.10.90.xxx| 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 ကုိ ၿပန္၀င္လုိ .မရေတာ.ဘူး ... ရွင္းၿပေပး ပါဦး ေက်းဇူးတင္ ပါတယ္
-
2009-11-27 14:12:31 |SAdministrator| admin - Re: searcher
joomla folder ထဲမွာ configuration.php ဆိုတာရွိတယ ္။ အဲဒီမွာ Site တစ္ခုလုံးရ ဲ႕ Setting ေတြအားလုံး ကို သိမ္းထားတယ ္။
var $user = 'xxxxx';
var $password = 'xxxxx';
မွာ အရင္ဟာကို ျပန္ထည့္ေပ း လိုက္ရင္ရျ ပီဗ်ာ။
-
2010-05-11 14:24:32 |203.81.166.xxx| 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
-
2010-05-11 16:31:10 |SAdministrator| 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 meHi,
Yes, you can find at here:
http://www.4shared.com/Cheer!
Zack
-
2010-06-18 22:12:16 |203.81.80.xxx| tinzar
အရမ္းေကာင္းတဲ့ site ေလးပါ..သိတာေတာင္ေနာက္က်သြားသလုိပဲ
သူငယ္ခ်င္းေတြသိေအာင္လည္းျဖန္ ့ေ၀ေပးလုိက္ပါ့မယ္..
ဆက္လက္တုိးတတ္ပါေစ..
| < Prev |
|---|
Login Form
Latest Post
Categories Table View
- Reader's Conner (133)
- PHP (48)
- Joomla CMS (46)
- Codeigniter (18)
- jQuery (12)
- iDhamma (11)
- Mobile Development (10)
- PHP & AJAX (4)
- Apache (3)
- For Mac (3)
- mySQL (2)
- DhammaDroid (1)
My browser not appear Connected to DB in Php & mySQL Configuration done.