freeufcdotinfo
Power Member
- Jun 12, 2008
- 685
- 153
Looking at VPS at the moment, but no CPANEL - how can I install WP without creating DB through CP.
Looking at VPS at the moment, but no CPANEL - how can I install WP without creating DB through CP.
LOL, did you actually read the first post? How to create the database is what he's asking. He bought a VPS without cPanel and doesn't know how to access mySQL without it. You're comment doesn't give him anykind of answer as to how to do that. lolEasy...Create a database ... keep all the details...load wordpress...fill in details...your done!
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. It is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.
LOL, did you actually read the first post? How to create the database is what he's asking. He bought a VPS without cPanel and doesn't know how to access mySQL without it. You're comment doesn't give him anykind of answer as to how to do that. lol
It can happen to anyone. I've given answers myself to different questions than were actually asked.Sorry...my misunderstanding...
apt-get install apache2 apache2-doc mysql-server php5 libapache2-mod-php5 php5-mysql phpmyadmin
汉è¯/漢汉è¯/漢語åŽè¯/è¯èªžä¸æ–‡èªžæ±‰è¯/漢語åŽè¯/è¯èªžä¸æ–‡åŽè¯/è¯æ±‰æ±‰è¯/漢語åŽè¯/è¯èªžä¸æ–‡è¯/漢語åŽè¯/è¯èªžä¸æ–‡èªžä¸æ–‡
Looking at VPS at the moment, but no CPANEL - how can I install WP without creating DB through CP.
<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
if (mysql_query("CREATE DATABASE wordpress_db",$con))
{
echo "Database created";
}
else
{
echo "Error creating database: " . mysql_error();
}
mysql_close($con);
?>
Looking at VPS at the moment, but no CPANEL - how can I install WP without creating DB through CP.