Jump to content


Photo

Connecting to Mysql


  • Please log in to reply
3 replies to this topic

#1 vbp6us

vbp6us
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 17 April 2003 - 09:27 PM

Hi,

I have mysql on my linux box and it works fine. It starts and eveerything. Im using webmin and there is a button which says \"create new table\". Then it asks for table, initial table then it asks for width and what it is, ie. text, int etc. . .

Now when im trying to install my invisionboard, it asks for

SQL Host : localhost
(localhost is usually sufficient)

SQL Database Name: test2

SQL Username: root

SQL Password: *********

SQL Table Prefix(You can leave this blank):

Then i fill out the administration information for the board and hit proceed and get:

The following errors must be rectified before continuing!
Please go back and try again!

Could not create a mySQL connection, please check the SQL values entered

Why is it not connecting?? It\'s running too. I checked through webmin AND /etc/init.d/mysql status running

So...what am i doing wrong??


EDIT:

I just found this at the top of the error page:

I just saw this at the top of the sm_install error page:

Warning: Access denied for user: \'root@localhost\' (Using password: YES) in /srv/www/htdocs/forums/sm_install.php on line 395

Warning: MySQL Connection Failed: Access denied for user: \'root@localhost\' (Using password: YES) in /srv/www/htdocs/forums/sm_install.php on line 395


what does that mean? My root password is right and root is the top level user that can do anything so whats the deal??

Thanks.
I use Linux because failure is not an option

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 18 April 2003 - 02:35 AM

be sure you didn\'t have capslock on... try the password on the command line and make sure it works. what is on line 395? mysql_connect?
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 vbp6us

vbp6us
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 19 April 2003 - 12:24 AM

I think it works now...i don\'t have loopback so i cant test it. Does it work?

http://forum.asappainting.com

Thanks. :!:
I use Linux because failure is not an option

#4 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 19 April 2003 - 12:29 AM

works :wink:
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users