上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 在配置文件 my.cnf 中添加你的sock文件的文件路径 [client] port = 3306 socket = /var/lib/mysql/mysql.sock #这里改成你的文件路径 如果不知道可以使用 find / -name mysql.sock 查找 阅读全文
posted @ 2020-07-28 17:17 青柚 阅读(335) 评论(0) 推荐(0)
摘要: 1.在 /etc/my.cnf 中的 [mysqld] 中添加 skip-grant-table 2.使用 [root]# server mysql restart 重启服务 3.输入 [root]# mysql 无密码登录到mysql中 4.使用 mysql > use mysql #选择数据库 阅读全文
posted @ 2020-07-28 17:13 青柚 阅读(1427) 评论(0) 推荐(1)
摘要: CREATE OR REPLACE VIEW public_user AS SELECT t.username, t.userid FROM dblink('host=127.0.0.1 dbname=库名称 user=pgsql password=密码'::text, 'select userna 阅读全文
posted @ 2020-07-28 16:13 青柚 阅读(194) 评论(0) 推荐(0)
摘要: File>settings>Colors & Fonts>Console Font 阅读全文
posted @ 2020-07-13 10:12 青柚 阅读(100) 评论(0) 推荐(0)
摘要: SELECT t.字段 FROM dblink('host=IP dbname=数据库 user=用户名 password=密码'::text, 'select 指定字段 from 表名称 where 条件'::text) t(字段名称 character varying(255)) 1.t.字段要 阅读全文
posted @ 2020-07-13 09:33 青柚 阅读(147) 评论(0) 推荐(0)
摘要: /* pages/flex/flex.wxss */ .outter{ width: 100%; display: flex; /* justify-content: flex-start; 左对齐 */ /* justify-content: flex-end; 右对齐 */ /* justify 阅读全文
posted @ 2020-06-20 22:41 青柚 阅读(134) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0 阅读全文
posted @ 2020-06-14 10:51 青柚 阅读(315) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2020-06-13 14:11 青柚 阅读(232) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2020-06-13 13:51 青柚 阅读(159) 评论(0) 推荐(0)
摘要: ####利用计算属性实现购物车功能,计算属性总是会依赖于自身使用的数组,在和购物车进行交互(全选、加减数量、删除)时总是应该对数组的元素进行操作,在对数组操作后,计算属性则会进行重新渲染视图,因而你只需要关心你的数据即可。 ###代码如下: <!DOCTYPE html> <html lang="e 阅读全文
posted @ 2020-06-05 14:25 青柚 阅读(592) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页