Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 path-issues in installing a wordpress - wrong pipe-path - like a testscript says
hello dear Pythonists hello dear Pythonexperts

well - today i have no python-question. i have some issues in installing a wordpress - and i hope you can help me...

meanwhile i have tried to install wp on a rootserver that is administrated by my friend i have got issues while trying to establish a db connection.

then i tried to run a test-teh connection script which gives back the following results

Quote: Warning: mysqli_connect(): (HY000/2002): No such file or directory in
/sites/ on line 2
Warning: mysqli_error() expects exactly 1 parameter,
0 given in /sites/ on line 4
Could not connect:

well - what does this script-results say - do i have issues and errors in the path of the pipe!?

do i have to do corrections here

Quote: * For information on other constants that can be used for debugging,
* visit the Codex.
* @link
define( 'WP_DEBUG', false );

/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __FILE__ ) . '/' );

/** Sets up WordPress vars and included files. */
require_once( ABSPATH . 'wp-settings.php' );

update - update - i have gathered some more insights :
i have gathered some more infos and insights due to some more tests.

see the following data: - the outcome of a testscript:

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /sites/ on line 3
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /sites/ on line 4 could not connect
see the script:

if(!($link = mysqli_connect('localhost','user','passwd','my_db'))){
die('could not connect: ' . mysqli_error($link));
} else {
die("don't have mysqli");
echo 'connect successfully';
some ideas:

the paths seem to be a problem - in the config
by the way: the character-code is 1252 ANSI L

any idea and help - i look forward to hear from you

Wordpress - super toolkits a. :: und b. :: Awesome WordPress: A curated list of amazingly awesome WordPress resources and awesome python things
why not try to install it from the hosting cpanel...

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  WORDPRESS DISADVANTAGES Anshsachdeva 6 675 May-01-2020, 07:43 AM
Last Post: DanielleStone
  Web Hosting Discount for Wordpress, Magento, PHP based applications johncamp 4 499 Apr-07-2020, 02:54 PM
Last Post: snippsat
  Python path not detected even it run in cmd. rorjet 3 1,063 Jun-22-2018, 09:10 AM
Last Post: DeaD_EyE

Forum Jump:

Users browsing this thread: 1 Guest(s)