[Xerte] Re: mysql problem installing XOT2

Pat @ Pgogy xerte at pgogywebstuff.com
Mon Apr 29 00:57:21 BST 2013


If database.txt doesn't become database.php it's usually because the setup folder or root folder doesn't have the correct rights permissions

On 28 Apr 2013, at 23:56, robb <robb at interlin.nl> wrote:

>  Dave,
> 
>  
> 
> Thnx for pointing to this. Exactly what was the problem:
> 
> database_host was ¨¨
> 
> I filled in localhost since mysql is on the same server.
> 
>  
> 
> Database_username=¨¨
> 
> Filled in the DB user.
> 
>  
> 
> password was filled in correctly.
> 
>  
> 
> database_name was ¨¨
> 
> filled in the xot db name
> 
>  
> 
> database_table_prefix was ¨¨
> 
> I filled inj the desired prefix
> 
>  
> 
> It would be nice to knoe WHY those things were left blank and not taken from database.txt??
> 
>  
> 
> Anyway, all is running now!
> 
>  
> 
> regards,
> 
> robb
> 
>  
> 
> 
>  
> 
> -----Original message-----
> To:	Xerte list <xerte at lists.nottingham.ac.uk>; 
> From:	Dave Burnett <d_b_burnett at hotmail.com>
> Sent:	Mon 29-04-2013 00:34
> Subject:	[Xerte] Re: mysql problem installing XOT2
> Attachment:	inline.txt
> 
> 
> From a Ron Mitchell post a while back:
> 
> 
> 1. Try the installation again but before you submit page3 to page 4, check database.php which should be created automatically in the root of your install but may not have all the correct values. If it doesn’t edit that so that it does and then submit page 3 to page 4.
>  
> e.g. see if the correct database name is in database.php
> 
> 
>  
> From: robb at interlin.nl
> To: xerte at lists.nottingham.ac.uk
> Date: Sun, 28 Apr 2013 23:39:50 +0200
> Subject: [Xerte] mysql problem installing XOT2
> 
> Last week I successfully installed XOT2 on a Zentyal 3.0 server (ubuntu 12.04 x64)
>  
> This was more or less to get familiar with the installation process. Now I decided to add XOT2 on a server I manage for a primary school. This server is a Zentyal 2.2 server (ubuntu 10.04 x86)
>  
> On the server mysql and php was already installed. I created a vhost to host xerte and deflated the zip there. I changed permissions for the necessary directories and files and started the installation proces.
>  
> At page 2 the troubles already start. I get a bunch of errormessages. see http://paste.ubuntu.com/5613964/
>  
> finally at page 4 I get: Sorry, the system cannot connect to the database at present. The mysql error is No database selected
>  
> When I look in phpmyadmin, I see the xot database and the tables are created.
>  
> Any ideas?
>  
> robb
> 
> 
> 
> 
> _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> 
> 
> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130429/f7d5c2ec/attachment.html>


More information about the Xerte mailing list