View Full Version : Mysql Error
docthomas
1-4-02, 04:58 AM
trying to configure PHPBB
the install.php (i got it working) says i need this info about MYSQL
I put iin what I thin is the right info but nothing is working
keep getting access denied
what I am looking for is database server hostname/DSN
I think it is terra.powweb.com in my case
my db name is md2be with the same username
I am entering the right password
what else could be wrong
Database Configuration
======================
Database Server Hostname / DSN:
Your Database Name:
Database Username:
Database Password:
Prefix for tables in database:
Admin Configuration
========================
Administrator Username:
Administrator Password:
Administrator Password [ Confirm ]:
here is the screen I get
I enter
Try "localhost" as database server hostname.
docthomas
1-4-02, 05:20 PM
it worked
b7y3c2m6
8-29-04, 03:31 AM
Please help...
I am trying to run install.php after I populated the following data in their fields, but I was getting the errors below... Am I doing something wrong? Do I need to update/modify my mysql4.php? Please help....
---------
Default board language: English (pre-filled)
Database Type: MySQL 4.x (pre-filled was MySQL 3.x, I changed it to 4 because PowWeb is now using mysql version 4.0.15, and beside I don't have mysql3.php on my db folder)
Choose your installation method: Install (pre-filled)
Database Server Hostname / DSN : localhost (pre-filled)
Your Database Name: myservername (created from MySQL)
Database Username: username (created user in MySQL)
Database Password: password (created password for the user)
Prefix for tables in database: phpbb_ (pre-filled)
Admin Email Address: my email address
Domain Name: mydomain.com (pre-filled)
Server Port: 80 (pre-filled)
Script path: /phpbb2/ (pre-filled)
Administrator Username: username I created for admin
Admin Password: created password
--------
Error:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /www/t/usern/htdocs/phpbb2/db/mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /www/t/usern/htdocs/phpbb2/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /www/t/usern/htdocs/phpbb2/db/mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
b7y3c2m6
8-29-04, 07:21 PM
... thanks to the POWWEB support, especially to pw-Joshua.
Thanks man... more power to POW!
hnguye11
9-17-04, 04:50 PM
Hey, I tried to install phpBB, and i got the same error as you did. Can you show me how to install it? What do i need for the database? I appreciate it.
Stephane
9-17-04, 09:16 PM
Hi,
I would also like to know. I get exactly the same message as hnguye11 and b7y3c2m6.
And for those of you who remember me, plz don't forget that I absolutly don't know what I'm doing yet. :)
It must be a common error. I get exactly the same warnings.
Help?
Stephane
9-18-04, 01:05 PM
I resolved my problem. It was a case sensitive problem in the name of my database....
I need to get rid of the "in construction" page now.....but I need to eat first.
Ok, so obviously I'm not the only one encountering this error, that makes
me feel slightly better about it all. (the error connecting to the database
showing the mysql4.php error etc)
However... WHAT'S THE SOLUTION?!
Is this posted elsewhere in the forum or is everyone just being
sent individual responses on how to fix this via email?
I am having this problem on my phpBB forum and need to resolve
it ASAP as I'll soon be losing members if it continues much longer.
Not good considering we were about to begin to EXPAND the site
and increase our membership.
PLEASE! Any help would be GREATLY appreciated! :)
Site is: http://www.jregrassroots.org -- though it doesn't come
up with the error all the time.
Suggestions/Solutions/HELP!
Thanks.
-XP
mitchind
4-10-05, 01:28 AM
This problem was solved 7 months ago by the user - not much is relevant in it anymore.
Please start a new thread - and include your error message if any - as well as what mysql server you're on.
If you're using localhost as your server name - that'll cause problems - use mysql##.powweb.com (check Member Ops page for that info)
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.