detportal
Dec 27 2006, 04:30 AM
I have Drupal and SMF both installed on my website. A few days ago, however, neither of them were able to connect to the database. The problem is still here. Drupal displays this message: QUOTE Unable to connect to database server
This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Access denied for user * (using password: YES).
Currently, the username is * and the database server is localhost.
* Are you sure you have the correct username and password? * Are you sure that you have typed the correct hostname? * Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider. [actual username covered] SMF displays this message: QUOTE Connection Problems Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. Is this a problem across the entire server, or is it just my account? I haven't modified the database at all before the errors appeared. Can someone help? PLEASE?
Reply
rvalkass
Dec 27 2006, 09:38 AM
MySQL is up and working fine, so the problem is therefore specific to your account. Try logging into cPanel and changing the password you use to connect to MySQL, even if you change it to what it already is (sorta resetting it) then try again. Also, do you have any other scripts on your site that access MySQL? If so, try those and see if they can connect. Finally, go into phpMyAdmin and backup the databases. Then try using the repair function and see if that helps. Sometimes the errors given out by these scripts are a little misleading and generic.
Reply
BuffaloHELP
Dec 27 2006, 11:47 PM
Just to cover all basis, what were the versions of SMF and Drupal you were running? SMF error message is something I ran across before and it's either database was actually down, or your SMF was compromised--something happened in the past due to security fault with older SMF version. As far as Drupal goes, was it injunction with SMF or running separately?
Reply
detportal
Dec 31 2006, 02:49 AM
SMF - 1.1 meaning it probably wasn't compromised. And that message has been appearing for over a week now, so it wouldn't be the actual database either. I don't really care about Drupal, I was just testing it to see if the problem was just with SMF.
Reply
farsiscript
Jan 2 2007, 07:09 AM
Dear detportal change your username and password with mysql at cpanel and then write new username and password in SMF config file , did you attach mysql database in to username/password ? i agree rvalkass we have not any problem with mysql !
Reply
detportal
Jan 4 2007, 11:07 PM
well i just solved the problem. it was caused by fantastico removing another CMS, and deleting one of the usernames for the MySQL database that SMF needed. Hence the username/password SMF provided was not accepted by the server. moderators, you might want to close the thread now.
Reply
Similar Topics
Keywords :
- Is The Database System Gone Again?
Errors on PHPMyAdmin again (9)
How Do I Find My Mysql Password? [resolved]
Cannot access my MySQL (5) After all the recent problems, my account has been restored. I have setup my parked domain agin, and
that works fine. However, I can no longer access my MySQL databases (I can from PHPMyAdmin, but
that's all). I had to create a new user for my databases, and created the user with exactly the
same username and password I had before, but some of my web pages do not let me access the pages I
have associated with my databases. Where could i find out what my DB password is? (Although I am as
good as sure I am using the right one). I have tried my old password, the new c....
Remote Access Mysql
(8) Is it possible to directly access my local database from my website? For example, if somebody
submits info on my website, the info they submitted would be transferred to my local database
directly. Is that possible? And if so, how do I set that up? The reason I don't want to upload
my database to my subdomain is because it would be difficult to keep the website database and my
local database in sync . . . or is there a way to do that? Thanks for any replies.....
Question About The Upgrade And The Mysql Usage ?
question about the upgrade and the mysql usage? (3) thanks for the upgrade but i do have question about it QUOTE Domain name zam.trap17.com
Hosting package Beta Subdomains 3 / 99 Parked Domains 0 / 9 Addon Domains 3 / 9 Mysql databases
1 / 99 PostgreSQL Databases 0 / 99 Disk usage 14.25 / 500.00 MB MySQL Disk usage 0.82 MB
Disk space available 485.75 MB Bandwidth (this month) 6.59 / 10240 MB Email accounts: 1 / 99
Email forwarders: 1 / unlimited Autoresponders: 0 / unlimited Email filters 0 / unlimited
Mailing lists: 0 / 99 FTP accounts 3 / 99 1-Bandwidth (this month) 6.59 / 10240 MB ....
Question About Adding Message Board To Site
Using mysql? (5) Hi, Super simple question from a simple laddie! Is a MySql database a messageboard? If not
how can I set up a messageboard. Thanks. std split from another topic ....
Phpbb2.17 Mysql Problems
Just this week they started (4) The forum has been up and running for about a year and a half. It has been through numerous server
upgrades, etc, including the recent HDD change, but for some reason, just this week it started
throwing this error: QUOTE Could not obtain post/user information. DEBUG MODE
SQL Error : 145 Table './jlhaslip_phpbb2/phpbb_posts_text' is marked as crashed and should
be repaired SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email,
u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail,....
Two Errors I Get.
On my phpBB2 forums. (1) One is one I think everyone is getting. I tried to submit a support request but it says I have to
define a language. I click the button and I get a WHW error or something. Then it redirects me back
to the main page. Then at the bottom of the sumbit request page is says that this feature has not
been set up by a admin yet. I think everyone is getting this one. If so please say you are or if I
am alone. QUOTE Warning: mysql_connect() : Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2) in /home/damen/public_html/phpBB/db/m....
99 Mysql Databases?
(2) I just got my account, and I was wondering: do we really get 99 MySql databases? I've read a
lot of the stuff about it, and it sounded like we only get one database, but my cPanel says that I
have "0 / 99" databases. If it's lying, it's not really a problem, because I could always
just prefix my tables, but I was just wondering why it would say that. If for some reason it was
letting me get more than one database, and I wasn't supposed to, I don't want to get my
account deleted. Does anyone know why it says that? /huh.gif" style="vertical-align:m....
Database Errors!
Started after HDD change.. (5) Hello, I am having database errors. They started after yesterdays HDD change. Its all fine when i
refresh site, they not that often but still i get them. It says "could not connect to database". And
i also received mail from gamma.xisto.com which says: QUOTE There has been a problem with the
database! This is a notice email to let you know that SMF could not connect to the database,
contact your host if this continues. so i am contacting my host......
Mysql Access Error[resolved]
(5) The MySQL server is Down, please look into this soon. I'm with Trap17 for nearly an year but
never faced any issues witht the free hosting so far, but his is the first time I'm facing this.
Please kindly look into this.....
Mysql Server Problems [resolved]
(3) hello, well since i installed php-nuke on my site's dir i have seen quite a lot of mysql SERVER
ERRORS, like that the server is going down so now and often is it due to my cms or is the server
having some probs ? this is what i just saw from the statistics: QUOTE Service Status
named up spamd up imap up cpsrvd up pop up eximstats failed syslogd up clamd failed mysql
(5.0.27-standard) failed httpd (1.3.37 (Unix)) up exim () failed exim-26 up ftpd failed Server
Load 16.50 (1 cpu) quote tags added. please use quote tags as needed. review trap17....
Cpanel And Mysql Problem. [resolved]
(3) hi all - i'm going to make this brief. my CMS (drupal 5.0) and forum (SMF 1.1.1) cannot connect
to the mysql db. however their files CAN still be accessed. I also tried uploading a file through an
ftp client and the file could be accessed. HOWEVER: cpanel cannot be accessed either. it simply
loads with a blank page. however both worked earlier today. so is there a problem with the server?
and if there is, will it be fixed?....
Parse Errors While Installing Smf Board
(3) I seem to be getting a LOT of parse errors with my php scripts. there are two things they have in
common: 1. they are downloaded and uploaded without modifying them. 2. they all seem to have
"unexpected $end" e.g QUOTE Parse error: syntax error, unexpected $end in
/home/random1/public_html/hsp/forum/webinstall.php on line 271 that example for webinstall.php, a
script used to install SMF. I know that trap17 provides fantastico to install SMF, but I want to
install SMF1.1RC3 to use with joomla-smf, which fantastico doesn't support. if I upload and ins....
Errors With Php Setcookie() And Headers! Please Help!
Having header errors when I try to set a cookie with PHP function setc (2) Hey guys, I'm having a problem setting cookies with PHP. I am trying to implement a script that
will allow someone to log in and access members only pages on my website. One of the aspects is that
I have to place a cookie on that persons computer. I know that you can use the PHP function
setcookie() to place it on your computer. The problem is that wherever i have setcookie() in my PHP
code I get an error: " Warning: Cannot modify header information - headers already sent by (output
started at /home/runeco/public_html/cookie.php:6) in /home/runeco/public_html/cooki....
Sites Disapeard, Mysql Errors? Also Server Folders Deleted
(18) Hello its 15:40 and I login see if everything runs oke, and I see numerus things deleted my mysql is
working again. Whats going on? My Webpage couple websites got deleted, and server folder files now
whats going on? /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> my
forum also give errors but mysql db stil there /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" />.......
The Difference Between Mysql And Postgresql ?
(4) I found those two in cPanel and they loofed nearly the same as each other but what is the difference
? I tried to go to phpMyAdmin and phpPgAdmin and they are nearly the same too. Do you know that ?
Please reply , thanks a lot.....
Mysql Backup Cronjob
How to? : / (6) Well, I want basically a cron job that will run and backup my MySQL database. I've been told
in the shoutbox that you can do it via cron job. Didn't told me how. Now, I just want help on
how to do it and what commands I should put in the cPanel. ....
How Do You Check Mysql Info, And Act According To It's Content?
(6) As part of a web-game on my site, I have a php form that requires people to enter their username,
and information about the characters they want to have in the game. All this information is stored
into a MySQL table. I want the players to be able to visit a page where every character they have
registered with their username can be seen. My question is simply, how can I check the values of
the MySQL data, and act accordingly? What I need to do is check for a Username and a character
number, and if it finds it, takes the data in that part and acts on it, eg. by showing th....
I Can Not Create Mysql Databases In Control Panel Using Phpmyadmin
Phpmyadmin says i don't have permissions to create databases (3) I went to phpmyadmin script a few minutes ago and i could not create a database. Since it says
there on my control panel that i have unlimited mysql databases, plus i am using only a couple of
databases, please respond and fix this, please.....
Is It Possible To Access The Mysql Remotely?
(10) I like to experiment with a lot of things and I was thinking of making a sort of instant messenger
in Python, but I want to let people have actual accounts so I need to be able to access the mySQL
remotely. If that's not possible, are we allowed to run Python scripts on the server?....
Does Trap17 keep back-ups of my MySQL Databases?
(6) ok, well i screwed up yes i admit it i screwed up big time... anywho, umm i was wondering is
trap17 kept back-ups of the MySQL Databases??? and if they do would it be possible for me to get a
copy of the backup for my forums sent to me somehow? because stupid me, i was re-installing my
forums, and went to make a backup of my MySQL database jsut in case, and selected all and hit make
backup, and well it only made a backup of only one of the databses, so right now i am without the
many posts i had ten minutes ago so if you so keep backups thats awsome!! youv....
How To Crate Mysql Database?
urgent help (7) Hi everyone!
I'm trying to make in my site a page system that allows me to create users
account (with a foto for every user)...
I'm doing that in PHP, I learned all I have to
know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
is messing: ....
Mysql?
(15) My board has a mySQL error on it and when i went to cpanel it says for mySQL databases /99 instead
of 1/99 or 0/99. I tried making new one but it didn't appear after i created it /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />....
Mysql Version4.0.27
mysql version is old (2) I have came to my control cpanel,And I saw the mysql version,It is old,and with this version we
don't have to install into computer before use it,that is the way make it to hard to use to me
when I try to use it on my computer.So I want to ask you,Admin.Do you plan to upgrade mysql to
higher version like mysql 5.1.?If yes,please do it as soon as posible.Because right now i'm
using mysql 5.1 and I don't know how to use mysql 4.0.27. Otherwise,can I upload my exist
database to my account. I don't know how to create it in my account.It is so hard for me be....
[solved]dsn Help (errors)
(3) Solved....
Mysql Troubles
(0) Hey i am having troubles connecting to my mySQL database... Not exactly sure what to enter for the
server/host and database name, etc. Please shed some light on this subject for me /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Sorry i should have looked
around for an answer to this before i asked the question. I found an answer on another post If
anyone else reads this post looking for an answer to the same question try using "localhost" as the
server/host name /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt=....
Mysql Connection With Tsw Webcoder 2005
(2) Ok i just downloaded TSW Webcoder 2005 and i need to connect to my MySql databases through TSW
Webcoder 2005, but i dont know wat to put in for Server Url or port or anything, any elp would be
very very very much appreciated. Thanks ....
Mysql Database Problem
appears to be deleted, but still has data (6) Hello. My Mysql databases appear to have been removed off of my account, yet according to my
cpanel, space is still being used on databases. Hopefully I haven't lost any of my data,
because I haven't taken a backup after recent updates, but If I have, I'll have to make do
with previous backup. Any idea what's wrong? Here's a quote from my cpanel QUOTE
Mysql databases 0 / 99 PostgreSQL Databases 0 / 99 Disk usage 13.16 / 150.00 MB SQL
Disk usage 2.99 MB As you can see, my database data still appears to be on the system, b....
Installing Apache, Mysql, Phpmyadmin Locally
Solving the "php_mbstring.dll missing" (5) Since Trap17's CP provide the individual site's owner with goodies like MySql and
PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
expected that most people considering to make use of a database on their site will want to do most
of the tedious job of developing and testing on their own local system before sending the wrapped-up
result on their domain/subdomain. This involves four basic steps (sorry for the compuwi....
Mysql Database Setup : Setting Up Mysql Database
Guide to use MySQL database in your site (4) A SMALL INTRODUCTION TO DATABASE ============================= I have seen that many members have
problems with Database. Here is a small INFO which should give you the IDEA. mySQL is a DATABASE
server. You can access it using the link in Cpanel. Cpanel can be accessed by
"www.YOUR-SITE.com/Cpanel" There you have 4 Main Options :- 1> CREATE A DATABASE 2> CREATE A USER
3> ADD USER TO DATABASE 4> PHPMYADMIN CREATE : IT ALLOWS YOU TO CREATE A DATABASE CREATE USER
: IT ALLOWS YOU TO CREATE A USER. USING THIS, YOU CAN ACCESS THE DATABASE. A DATABASE CANNOT BE....
Looking for Mysql, Errors, [resolved]
|
|
Searching Video's for Mysql, Errors, [resolved]
|
advertisement
|
|