Mysql server 5.1 安装记录
参考:
http://library.linode.com/lamp-guides/ubuntu-10.04-lucid/#configure_mysql_and_set_up_databases
http://www.jonathanmoeller.com/screed/?p=1781
摘要
sudo apt-get install mysql-server
sudo mysql_install_db
mysql_secure_installation
mysql -u root -p
First, create the database:
CREATE DATABASE newdatabaser;
Create a user who can access the database:
CREATE USER newdatabaseruser;
Next, set a password for the new user:
SET PASSWORD FOR newdatabaseuser= PASSWORD(“password”);
GRANT ALL PRIVILEGES ON newdatabase.* TO newdatabaseuser IDENTIFIED BY ‘password’;
分享到:
相关推荐
- **版本选择**:根据需求选择Ubuntu 10.04 (Lucid Lynx) 或 10.10 (Maverick Meerkat) 版本。 - **安装选项**:安装过程中,语言选择英语(en),时区设置为上海(Shanghai)。仅安装SSH服务,其余选项保持默认...
Ubuntu 10.04,昵称“Lucid Lynx”,是Ubuntu项目于2010年发布的一款长期支持(LTS)版本,它为用户提供了长达五年的技术支持。Ubuntu以其易用性、稳定性和强大的软件仓库闻名,是许多初学者和专业人士的首选Linux...
- 访问 Ubuntu 官方网站 (http://www.ubuntu.com/getubuntu/download-server) 下载 Ubuntu 10.04(Lucid Lynx)的服务器版ISO镜像。 - 使用光盘刻录软件如 Nero 刻录ISO到DVD光盘。 2. **启动安装**: - 将光盘...
首先,从Ubuntu官方网站下载Ubuntu Server 10.04(Lucid Lynx)的ISO镜像,然后将其刻录到CD。启动系统,选择合适的语言和所在地区,系统会自动检测键盘布局。接着,Ubuntu将尝试从CD-ROM驱动器中加载硬件驱动并检测...
例如,Ubuntu 10.x 可能是 Lucid Lynx(10.04)或 Maverick Meerkat(10.10),每个版本都有长达五年的支持期。 3. **GNOME 桌面环境**:Ubuntu 10 使用的是 GNOME 2.x 系列,这是一个功能丰富的桌面环境,提供了...