1 (edited by codelocator 2009-03-11 02:20)

Topic: Install on Media Temple Gridserver?

Hi,

Trying to install on a MediaTemple Gridserver account. I uploaded the contents of the punBB folder to the root folder of the domain,made a new database for it (MySQL 4.1.25, name - dbxxxxx_mydomain. I keep getting this:

"An error was encountered
Unable to connect to MySQL server. MySQL reported: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
The error occurred on line 45 in /nfs/c02/h04/mnt/40624/domains/mydomain.com/html/include/dblayer/mysql.php"

I'm still unsure about most of this

"Database server (Required) The address of your database server. For SQLite enter anything. - not sure whether that needs"

locahost? Or something else here?

"Database name (Required) Existing database PunBB will be installed to."

mydomain or dbxxxxx_mydomain?

"Database username For database connection. Ignore for SQLite."

Anything here?

"Database password For database connection. Ignore for SQLite.
Table prefix Optional database table prefix e.g. "foo_".
"

Anything here?

Any suggestions would really be appreciated.

Thanks, Adam

2 (edited by codelocator 2009-03-13 12:20)

Re: Install on Media Temple Gridserver?

Ok, I eventually got it to work.

For anyone else in the same circumstances, here's how:

1. Go to https://ac.mediatemple.net/domains/index.mt then click on your primary domain (at the top of the list)

2. Click on 'Manage Databases', then click 'Add A Database', then make a new database and name it.

3. Then on the same page click 'Global Settings' then click 'Add a new user' and name it, for simplicity i used the same name as the database. Add a password.

4. Then next to the new username click the 'Permissions' button, and change then from 'No Access' to 'Read/Write'.

That should be good.

5. go to http://yourURL.com/punbb/admin/install.php and enter the following

"Database server (Required) The address of your database server. For SQLite enter anything."

internal-db.sxxxxx.gridserver.com

"Database name (Required) Existing database PunBB will be installed to."

dbxxxxx_yourdatabasename

"Database username For database connection. Ignore for SQLite."

dbxxxxx_yourdatabaseusername

"Database password For database connection. Ignore for SQLite."

yourdatabaseusernamepassword

"Database password For database connection. Ignore for SQLite.
Table prefix Optional database table prefix e.g. "foo_"."

Leave this blank.

Fill in the rest as requested and hopefully all should be well.

Maybe that'll be of some use to the next person searching 'install PunBB Media Temple' or similar.
Easy when you know how smile

Re: Install on Media Temple Gridserver?

Thank you for these detailed instructions, they will be useful for our members.