nukesql.php database errors

  • HoocH
  • Student
  • Student
  • HoocH
  • Posts: 70

Post 3+ Months Ago

I am installing nuke 6.9

It doesn't want to work when I am here
Welcome to the nukesql.php database tables installer for PHP-Nuke 6.9
Here's an error from my control panel when I tried to instal nukesql6.9
MySQL said:


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 '<?php
/*******************************************************


Also, how should the fields look below?
$dbhost = "www.mysite.com"; <<is this correct?
$dbuname = ""; <<I have set this (do I put the _ in the name??
$dbpass = ""; <<I have set this
$dbname = ""; <<I have set this
$prefix = "nuke";
$user_prefix = "nuke";


Thank you for any help... Hooch

P.S I have installed nuke in a test folder. ie w*w.mysite.com/test
Is this a no no??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Quote:
$dbuname = ""; <<I have set this (do I put the _ in the name??


I've never used phpNuke, but I would assume that if the user name is two or more words, you should probably underscore the spaces. There's several nuke users around so they should be able to confirm or correct that thought.

--------------------
Unrelated -- when you post code, please use the "code" bbCode buttons in the post form to surround your code so it appears as it should. Failing to do so will usually cause errors in how your post displays.
  • HoocH
  • Student
  • Student
  • HoocH
  • Posts: 70

Post 3+ Months Ago

My cpanel added my login name infront of my usrename for mysql.

It looks like this
loginname_username
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Your $dbuname = ""; needs to be exactly the name of the authorized database user to work. If it's not, manually edit and upload the file.
  • HoocH
  • Student
  • Student
  • HoocH
  • Posts: 70

Post 3+ Months Ago

Thanks guys, it's running now.
Thing is it's in spanish...and will not change back to english.
But I'll get it.

Hey, I have a question though. I entered this in a test folder. I already have forums up from a month ago. If I start my nuke in the main folder....where it should be. Will that erase my present phpbb's??

Thanks

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 131 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.