You should probably make sure whatever MySQL user XWiki use have the right to create tables.
On Thu, Mar 23, 2017 at 3:15 PM, Vincent Massol <vinc...@massol.net> wrote: > Forget what I said, I read too fast. > > Your problem is not with the main wiki but with creating sub wikis. > > Thanks > -Vincent > >> On 23 Mar 2017, at 15:12, Vincent Massol <vinc...@massol.net> wrote: >> >>> >>> On 23 Mar 2017, at 15:11, Vincent Massol <vinc...@massol.net> wrote: >>> >>> >>>> On 23 Mar 2017, at 15:07, terminal <daniel.dasnevescoe...@forch.fr> wrote: >>>> >>>> Hi Vincent, >>>> >>>> Thank you for your reply. >>>> >>>> No, the table doesn't exist. Do i need to create it manually ? >>> >>> No, xwiki does it. It didn’t do it here probably because it’s not correctly >>> configured. Maybe xwiki.cfg has not been modified to tell it to use a DB >>> named something else than “xwiki”? >>> >>> See the following line in xwiki.cfg which you need to change if you don’t >>> use “xwiki” as the db name: >>> # xwiki.db=xwiki >> >> See also >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigurethenamesofdatabaseschemas >> >> Thanks >> -Vincent >> >> PS: I’ve never use a db name other than “xwiki” so I’m not really an expert >> on this :) >> >>> >>>> I taught that >>>> the Application manager do the creation of the Database and the tables >>>> itself for a new Wiki ? Even if i create manually the database, it's the >>>> same message... >>>> >>>> Thanks for your link, i used it for the installation of Xwiki, it helped me >>>> a lot. I don't see anything right now that can solve this issue... :( >>> >>> If you don’t want problem I’d suggest redoing your install with a db named >>> “xwiki”. >>> >>> If you really want to change your DB name make sure you change it >>> everywhere (hibernate.cfg.xml, xwiki.cfg). >>> >>> Thanks >>> -Vincent >>> >>>> I searched again this morning, changing hibernate (who i configured with >>>> the >>>> documentation here) configuration with the SQL dialect extension, tried >>>> with >>>> superadmin activated, checked on MySQL if the users have the good rights >>>> (again), made some change in xwiki.cfg, no change. >>>> >>>> Do the user name in the hibernate need to be xwiki ?? Because it's the only >>>> thing that's is différent right now. >>>> >>>> Maybe i'm missing something (i will be no suprised of it...), but for now i >>>> don't know. I will keep searching and testing this afternoon, if you have >>>> any idea who could help me... Or if i did not understand something, >>>> sorry... >>>> >>>> Thank you again, >>>> Daniel. >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://xwiki.475771.n2.nabble.com/New-wiki-creation-tp7603193p7603211.html >>>> Sent from the XWiki- Users mailing list archive at Nabble.com. > -- Thomas Mortagne