My exceptional Nuxt.js project
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout Nuxt.js docs.
企业招聘管理系统
- sudo apt-get install mysql-client-core-5.7
- sudo apt-get install mysql-client-5.7
- sudo apt-get install mysql-server-5.7
- 输入密码
- service mysql start
- 修改绑定地址:vi /etc/mysql/mysql.conf.d/mysqld.cnf,修改bind-address,将改行注释
- 设置root权限: grant all privileges on . to 'root'@'%' identified by '123456' with grant option;
- flush privileges;
- 查看是否成功: mysql -u root -p -> use mysql -> select user, host from user; -> user: root, host: %
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- 修改my.cnf: vi /etc/my.cnf
- 将mysql, client, mysqld等 socket = /tmp/mysql.sock 修改为 sock = /var/run/mysqld/mysqld.sock