Is mysql not supported in mandy 2k9
Hi guys... I just wanna ask if mysql not support by mandy 2k9? I wanna learn PHP/Mysql and I believe that LAMP is the most recommended for that. I've been install Apache and PHP but why mandy doesn't want Mysql to run in their system?
When I activate mysl with MCC suddenly a tool tips appear and it's say that mysql can not run coz it's very unstable under localhost?! If this was true then why mandy include this package in their distribution? And my 2nd question is how did I test my web database in my local machine 1st before it's run on the internet if mysql was not run? Can U tell me how to force mysql to work in this system? |
Hi, mysql works fine on my mandy 2009.0 system.
Have you set up your host files? /etc/hosts Code:
127.0.0.1 GamesBox.GlennsPref.net localhost.localdomain localhost GamesBox, Code:
# Code:
# And do you have bindutils installed? mentioned in /etc/host.conf Code:
order hosts,bind Hope that helps you, Glenn |
thx bro for your suggestion, But I was thinking Instead using "localhost" as my localhost I'm using a different name like "mylinux" or other name i want beside "localhost"
I run this command to change network name echo "HOSTNAME=MyLinux" >> /etc/sysconfig/network And add same name at hosts file echo "127.0.0.1 MyLinux" >> /etc/hosts reboot my comp and after that I run mysqld daemon and install mysql_secure_instalation, that's it I've been running mysql on mandy 2k9! wew... I've never expect running mysql would be so tricky like this, I've never have it before.... THX FOR EVERY ANSWER YOU GAVE TO ME BRO!! |
You don't append another line, you'll get duplicates. In /etc/hosts, you add your new name to the list of names already on the localhost entry.
|
yes, it's true. I just realize that after Apache complaint about my localhost name, and then apache choose 127.0.0.1 to be localhost name instead "localhost" or "MyLinux". Is there any possibiity that the name will become trouble in another coz i wanna install another server like postfix.
|
You can set the host name by editing this file...
/etc/hosts Code:
Regards, Glenn |
So basically localhost name could consist more than just 1 name right? But all the server only read IP adress instead of localhost name, am i correct? Wew... such an easy logical task but i always confuse all thiz time coz I don't know how to set it up in windows. Why everything is so easy to configure in linux D###N
Thx for your answer bro! |
Linux is made for users by users.
M$win is developed by a private company for sale. Glad you got it working. using a fqdn (fully qualified host name) must help, the local dns attaches my fqdn with the ip address for local host (127.0.0.1). Other network files hold other fragments, held in /etc/sysconfig/network-scripts. Cheers, Glenn |
All times are GMT -5. The time now is 02:04 AM. |