The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
1045 sql error - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10)
+--- Thread: 1045 sql error (/showthread.php?tid=192)



1045 sql error - Mekaboo - 07-23-2016

Hello all!

I finally got my site uploaded and ready to run (YAY!) I click on my login but from my index.html page and i get this error:
SQLSTATE[28000] [1045] Access denied for user 'Mekaboo'@'localhost' (using password: YES). Ive changed the config page and nothing happened. How do I resolve this?
Thank you,
Mekaboo


1045 sql error - mudmin - 07-24-2016

That looks like your username and password are wrong. Sorry for the slow response. I would definitely check to make sure that you really use localhost and that the username and pw are correct.



1045 sql error - Mekaboo - 07-25-2016

You are ok! Ive tried everything and nothing is working. It crazy because I finally got the site up an the only issue is the php files from here. I even thought about creating a database with my webhost (Bluehost) but that is challenging. Im using XXamp I dont know what to do and its really frustrating Sad


1045 sql error - mudmin - 07-25-2016

If you're on Xampp then the username is almost always root and the hostname is almost always localhost or 127.0.0.1


1045 sql error - Mekaboo - 07-26-2016

Thank you so much for ya help. I took your advice and it worked, I realized Ive been doing it wrong all this time by making myself a user on the databases smh. Now though Ive come across this error: HTTP ERROR 500. I saw that you addressed this issue before and I did what was recommended(htaccess files) it still hasnt changed. Do you have any other suggestions?

Thank you so very much for all of your help Smile



1045 sql error - mudmin - 07-26-2016

An error 500 is almost always caused by some weird config in a .htaccess file. If you have a file in your root or userspice main folder called .htaccess rename it to .htbak or something like that and see if the error goes away.

I'm glad the other thing worked!


1045 sql error - Mekaboo - 07-26-2016

Unfortunately the error didnt go away Sad


1045 sql error - Mekaboo - 07-29-2016

Actually I figured it out, I need to upload the index.php into my webhost along with my other files!