lindsayanng Posted September 30, 2008 Posted September 30, 2008 I just got a fleeting error that was REALLY random and it DID scare me a bit. i did NO work on the site today.. NOTHING at all, and i looked at the site handful of times to look up price and show a few people my work. Well, i went to go on the site because i customer called and needed help with the site and i went on, and this error popped up: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/bscphoto/public_html/catalog/includes/functions/database.php on line 19 Unable to connect to database server! It also popped up on the customers side temporarily while i was trying to explain to her how to use cookies.. Well, i went back and pulled the site about about 3 minutes later and it was GONE the scare part, line 19 is where it calls for my username and password.. please help A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted September 30, 2008 Posted September 30, 2008 It's working for me now. Your host was probably screwing with something. I wouldn't get too bent out of shape - yet. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted October 1, 2008 Author Posted October 1, 2008 yea.. YET.. i opened a support ticket just in case.. we'll see. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted October 1, 2008 Posted October 1, 2008 Servers.... Can't live with'em can't shoot'em. Anyway, it's nothing anyone here can help you with 'cuz it's a host problem. :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted October 1, 2008 Author Posted October 1, 2008 just wanted to be sure because it did reference a line in my code.. I thought also maybe it was a sign of database tampering. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted October 1, 2008 Posted October 1, 2008 As long as your config file has the right username and password, probably about 99.99% of the time you get that error it's a host problem. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted October 1, 2008 Author Posted October 1, 2008 yep.. well, that is what i was worried about. I was worried someone got into my DB and changed my username and password. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted October 1, 2008 Posted October 1, 2008 If they did that, the error wouldn't be "fleeting", It'd be permanant (until you fixed it) and the catalog wouldn't display at all. They'll probably tell you the server had a hiccup and they fed it some Pepto Bismol and it's all good now. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted October 1, 2008 Author Posted October 1, 2008 thats all i needed to know.. but i love to harass my host. Ya know.. make sure that I am getting what i paid for. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted October 1, 2008 Posted October 1, 2008 ringggggg..... ringggggg..... Hello, Lindsay? This is your database server calling, and I just wanted to say......................... BURP! I'm feeling much better now! :) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted October 1, 2008 Author Posted October 1, 2008 HAHA.. you are too much fun.. can you post in ALL my posts.. you dont need to always have an answer.. just take the tension out of my shoulders with a laugh. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.