mannuri Posted June 20, 2014 Posted June 20, 2014 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 utf8Function: MysqlInstaller::setupDatabaseError: 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/
Ice IT Support Posted June 20, 2014 Posted June 20, 2014 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.
paladox2014 Posted June 21, 2014 Posted June 21, 2014 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now