1
MS-2001
mySQL Error
  • 2004/12/12 16:38

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i just copied my xoops-website to my new webserver. Then, i created the new db and inserted the old data:

name: xoops
username: xoopsdb
passwort: *************

then i modified the mainfile:

define('XOOPS_DB_TYPE', 'mysql');
define('XOOPS_DB_PREFIX', 'xoops');
define('XOOPS_DB_HOST', 'localhost');
define('XOOPS_DB_USER', 'xoopsdb');
define('XOOPS_DB_PASS', '**************');
define('XOOPS_DB_NAME', 'xoops');

but i cant view the site. theres an error:


Warning: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 19 in C:\Inetpub\vhosts\mysite\httpdocs\class\errorhandler.php on line 196
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file line 34

error behind that: Warning [PHP]: mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) in file line 74

But why? i can view the db using phpmyadmin.

2
MS-2001
Re: mySQL Error
  • 2004/12/12 17:00

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


ok, now i know. i've chosen a password longer than the maximum count of chars. now it works.

Login

Who's Online

361 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 361


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits