Script #1
来源:互联网 发布:巨人网络 2017财报 编辑:程序博客网 时间:2024/05/21 21:41
Install
[15:11 fury ~]$ sudo dnf install mysql
[15:32 fury ~]$ sudo dnf install mysql-server
[17:00 fury ~]$ sudo dnf mysql-shell
Error
[15:54 fury ~]$ mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
solution:
[15:59 fury ~]$ service mysqld start
Error
[18:17 fury ~]$ mysqlsh
Welcome to MySQL Shell 1.0.9Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type ‘\help’, ‘\h’ or ‘\?’ for help, type ‘\quit’ or ‘\q’ to exit.
Currently in JavaScript mode. Use \sql to switch to SQL mode and execute queries.
mysql-js> \helpmysql-js> \sql
mysql-js> \py
Switching to Python mode…
mysql-py> import numpy as np
mysql-py> a = np.array([1])
mysql-py> a
array([1])mysql-py> \sql
Switching to SQL mode… Commands end with ;
mysql-sql> create database weibo;
ERROR: Not connected.mysql-js> \c root@localhost:3306
Creating a Session to ‘root@localhost:3306’
Enter password:
Classic Session successfully established. No default schema selected.
mysql-js> \sql
Switching to SQL mode… Commands end with ;
mysql-sql> create database weibo;
Query OK, 1 row affected (0.00 sec)
- <script>alert(1)</script>
- <script>alert("1")</script>
- Script #1
- 123"/><script>alert(1)</script><!-
- 123"/><script>alert(1)</script><!-
- Dos script(1)
- 深入 Script# System(1)
- 1st Tcl Script
- BO3.1Script
- LR script-1
- script
- script
- script
- script
- script
- script
- script
- <script>
- laravel 5.1 查询底层原理 (Query Builder) 源码解析(下)
- 使用数组的步骤
- final关键字
- 项目案例:宠物商店
- springmvc 注解总结
- Script #1
- Android学习数据存储时,data文件夹中空白问题
- LeetCode Algorithms 42. Trapping Rain Water
- Unity3D学习(15)之Navmesh使用
- 0511
- Hadoop集群搭建
- <<汇编语言>>---王爽 (实验 8)分析一个奇怪的程序
- poj 1005
- Maven开发笔记(三)—— Maven中dependencies和dependencyManagement