Mysql ½¨Á¢ tableµÄÎÊÌâ¡£¡£
mooncold@debian-mooncold:~$ suPassword:
debian-mooncold:/home/mooncold# mysql -u xywu -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 49 to server version: 4.0.24_Debian-10sarge2-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use pdf;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> create table book ( id INT(11), filename VARCHAR, filetype CHAR );
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' filetype CHAR )' at line 1
mysql> create table book ( id INT(11) );
ERROR 1: Can't create/write to file './pdf/book.frm' (Errcode: 13)
mysql> create table book ( id INT(11), filename VARCHAR, filetype CHAR);
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' filetype CHAR)' at line 1
mysql>
ÉÏÃæµÄ mysqlµÄÕÊ»§ ¾ßÓÐËùÓеÄȨÏÞ ¡£ÎÒ»» mysqlµÄrootÕÊ»§½¨Á¢Êý¾Ý±íµÄʱºòÒ²ÊdzöÏÖͬÑùµÄÎÊÌâ¡£
ÎÒµÄϵͳÊÇ debian 3¡£1µÄ¡£°²×°µÄ mysqlÊÇϵͳËù´øµÄ¡£
Apache+PHP+MysqlÓÃÆðÀ´¶¼Ã»ÎÊÌâ¡£ > Errcode: 13
Õâ¸öÒ»°ãÊÇȨÏÞ²»×ãÒýÆðµÄ, ÇëÈ·¶¨mysql¶ÔÏà¹ØÄ¿Â¼ÓÐдȨÏÞ Ð»Ð» ¡£¡£¡£
²éµ½ÊÇʲôÎÊÌâÁË ¡£¡£
ÐÞ¸Ä ËùÔÚĿ¼µÄȨÏÞºó¾ÍokÁË¡£
Ò³:
[1]