I installed Lion on another partition, then migrated the data from Snow Leopard disk to the new Lion system yesterday. Almost everything worked fine, except mysql, php, and mlDonkey did not work, but I fixed these problems.
System->Preferences->Mouse
uncheck "Move content in the direction of finger movement when scrolling or navigating"
If you use Logitech mouse like me, you need to upgrade the Logitech Control Center application. Only new LCC supports Mission Control.
I use macports to install mysql and other tools. Macports needs Xcode. Lion uses new Xcode 4.1. Xcode 4.1 can be download with appstore, and now it is free.
run
sudo port selfupdate sudo port clean --all all
to update macports and clean all package files.
Mysql did not run after I upgraded to Lion. I installed the mysql on snow leopard with macports. I reinstalled mysql
sudo port install mysql5 +server sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
But when I tried to start the server:
sudo /opt/local/share/mysql5/mysql/mysql.server start
I got:
Starting MySQL .. ERROR! Manager of pid-file quit without updating file.
I fixed the problem by restoring mysql configuration file from Snow Leopard system:
sudo cp /Volumes/Old-system-disk/private/etc/my.cnf /opt/local/etc/mysql5/my.cnf
Php worked, but when I loaded a drupal test sites on the localhost, it reported:
Site off-line The mysqli error was: No such file or directory.
After a little googling, I learnt it was because php did not set up the right socket for accessing mysql server.
After restoring the php.ini file from the original system, drupal site worked fine.
sudo cp /Volumes/Old-system-disk/private/etc/php.ini /etc/php.ini
Because Lion did not support PowerPC application any more, old mlDonkey on the system no longer worked. I fixed the problem by reinstall a mlDonkey with macports:
sudo port install mldonkey
Please be ware that it will take a long time as many tools need to be installed first for mlDonkey. After mlDonkey have been installed, set sancho to use new mlnet tool.
Post new comment