Bonjour à vous tous
J'ai appris quelques notion sur mysql dans phpmyadmi.
comme je suis un tuto qui travaille mysql en mode console.
J'arrive à me connecter via: "mysql"
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
 
C:\Users\jonass>mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 145
Server version: 5.5.24-log 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> select "bonjour";
+---------+
| bonjour |
+---------+
| bonjour |
+---------+
1 row in set (0.00 sec)
 
mysql> select 25-10;
+-------+
| 25-10 |
+-------+
|    15 |
+-------+
1 row in set (0.00 sec)
 
mysql>
mais impossible de créer une table:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
mysql> CREATE DATABASE Table_essai CHARACTER SET 'utf8';
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'table_essai'
mysql>
si quelqu’un peut me dire pourquoi.
merci