Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

MySQL errors

Asked Modified Viewed 3,741 times
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
asked
Junior Member

With some webhosts I get an error saying something like Unable to connect to database: access denied 'root' @ 'localhost' (USING PASSWORD = NO ). And that a few times. But these are not the settings from my config.PHP. And the site works great except for this error. I noticed this only happens with webhosts with external MySQL servers. When the db is at localhost, I don't have the error. Is this something I can fix?
0 replies

6 posts

A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

There is nothing related to PHPFusion regarding this. Whereas, I agree that this happens mostly with external MySQL servers like 000webhost and all.
0 replies
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

The exact error is:
Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)

But a friend made a suggestion to modify maincore.php (remove all the 'or die' arguments for the database connect lines), which presumably would fix the error. It didn't, so I'm afraid it's indeed the hosting. Oddly though, all hosts say it's the problem with the script, and here I here it's the hosting. Unless I get a solution, I'll have to stick to hosting with localhost databases.
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Its obvious that if it is not able to connect to the Database, then how can it retrieve the settings to show the website. So it cannot be resolved by that. B)
0 replies
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Ankur wrote:

Its obvious that if it is not able to connect to the Database, then how can it retrieve the settings to show the website. So it cannot be resolved by that. B)

I think you don't understand my problem. See for yourself at http://fusion.i7gr.tk/. The site works fine, but shows as ugly error at the bottom. And that's what's so weird about this. The site works fine, but still shows errors.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Something wrong with your bottom panels or something. Maybe plugins?

Or it maybe hoster problem.
0 replies
I
i7Grendel
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

It can't be the plugins, because I get this error with both my version and any clean install.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
I
I
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet