Impossible caricare il db
ciao a tutti,
sto tentando di inserire dei dati nel mio DB (classe 6) per fare delle prove con wordpress (finora installato in locale), però non riesco ad importare le tabelle del db esistente (file sql creato con phpmyadmin).
Non riesco a capire dove sia l'errore, tuttavia: il codice è questo (basta la prima parte, tanto da errore subito):
Codice:
CREATE TABLE `wp_categories` (
`cat_ID` bigint(20) NOT NULL auto_increment,
`cat_name` varchar(55) NOT NULL default '',
`category_nicename` varchar(200) NOT NULL default '',
`category_description` longtext NOT NULL,
`category_parent` bigint(20) NOT NULL default '0',
`category_count` bigint(20) NOT NULL default '0',
PRIMARY KEY (`cat_ID`),
KEY `category_nicename` (`category_nicename`)
) TYPE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
e l'errore riportato questo:
Citazione:
#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 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=2' at line 14
qualcuno mi può aiutare?
EDIT: scusatemi, mi sono accorto tardi di aver sbagliato sezione. Qualche mod/admin può spostare il topic? Grazie.
Sposto in livello 4 visto che si parla di WorPress. Comunque non ti preoccupare, sempre MySql è! :wink:
impossibile selezionare il db (stesso errore di maestramaria)
Citazione:
Originalmente inviato da maestramaria
Cercando di installare wordpress..
Can’t select database
We were able to connect to the database server (which means your username and password is okay) but not able to select the my_maestramaria database.
Are you sure it exists?
On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
If you don't know how to setup a database you should contact your host.
Naturalmente ho attivato come da consigli sparsi nel forum il Database Mysql classe3.
Se qualcuno può aiutarmi, grazieeeee
A me compare lo stesso errore...come hai risolto?
ovviamente anch'io ho creato il db (classe 3) e ho seguito queste indicazioni (http://blog.tambuweb.it/2005/10/06/i...su-altervista/)
Grazie in anticipo
EDIT:
Mmm...tutto tace :sad: ...
M'e sorto un dubbio: in precedenza avevo installato joomla e la classe 2 del db, poi ho deciso di usare wordpress ed ovviamente ho cancellato tutto ciò che riguardava joomla, uploadato i file di wordpress ed ho cambito la classe da 2 a 3...E' possibile che questo abbia causato l'errore? ( forse è una domanda stupida ma ho controllato e ricontrollato i dati del wp-config.php - come indicato nel sito che ho citato sopra ed anche sul sito di wordpress e tutto mi pare a posto - scusate ma di php non so nulla, vorrei installare wordpress proprio per imparare qualcosa...)
Grazie (se mi risponderete ancor di + :=): )