Jump to content

Installing Mediawiki


mannuri

Recommended Posts

Hi there,

 

I tried install many times the the mediawiki, but allawys get an error.

After some searsh i found out that stevie server have a problem at database, so i trie a manual install where i change to MyISAM.

 

But the error dont go away.

A database query error has occurred. This may indicate a bug in the software.
  • Query:
    CREATE DATABASE `my_wiki`CHARACTER SET utf8
  • Function: MysqlInstaller::setupDatabase
  • Error: 1044 Access denied for user 'miranda'@'localhost' to database 'my_wiki' (localhost)

Backtrace:

#0 /home1/miranda/public_html/mediawiki-1.23.0/includes/db/Database.php(1123): DatabaseBase->reportQueryError('Access denied f...', 1044, 'CREATE DATABASE...', 'MysqlInstaller:...', false)

#1 /home1/miranda/public_html/mediawiki-1.23.0/includes/installer/MysqlInstaller.php(496): DatabaseBase->query('CREATE DATABASE...', 'MysqlInstaller:...')

#2 [internal function]: MysqlInstaller->setupDatabase(Object(MysqlInstaller))

#3 /home1/miranda/public_html/mediawiki-1.23.0/includes/installer/Installer.php(1536): call_user_func(Array, Object(MysqlInstaller))

#4 /home1/miranda/public_html/mediawiki-1.23.0/includes/installer/WebInstallerPage.php(1331): Installer->performInstallation(Array, Array)

#5 /home1/miranda/public_html/mediawiki-1.23.0/includes/installer/WebInstaller.php(283): WebInstaller_Install->execute()

#6 /home1/miranda/public_html/mediawiki-1.23.0/mw-config/index.php(63): WebInstaller->execute(Array)

#7 /home1/miranda/public_html/mediawiki-1.23.0/mw-config/index.php(31): wfInstallerMain()

#8 {main}

 

I dont know mush about this stuff, my site is http://afterworlddb.heliohost.org/

Link to comment
Share on other sites

You are getting that error because your database name needs to start with your cPanel username and an underscore (miranda_). It is trying to create a database named my_wiki. It should be miranda_my_wiki. Change your database name and try installing again.

Link to comment
Share on other sites

Hi I had the same problem when trying to use the web updater in Mediawiki to setup the database. It would not allow me to create the date base all I did was I had to manually go into the maintenice/table.sql folder and filer and do it like that it worked. But you have to manually do it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...