我是数据库和mysql的新手。
运行sudo mysql -u root -p
并输入密码后,我成功进入了mysql。 (我在Mac OS X 10.10
下。)
但是,当我尝试创建数据库时,出现了问题。
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.6.23 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, 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;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database test
-> exit
->
有什么问题?
答案 0 :(得分:1)
我相信你可能只是错过了分号
$cs = Get-AzureService -ServiceName "totestubuntu1"
New-AzureReservedIP -ReservedIPName "ipname2" `
-Location "East US" -ServiceName $cs.ServiceName