+ Reply to Thread
Results 1 to 5 of 5

Thread: Error al subir la bd a phpmyadmin.

  1. #1
    medinacelicr's Avatar
    medinacelicr is offline x10Hosting Member medinacelicr is an unknown quantity at this point
    Join Date
    Mar 2009
    Location
    Ciudad Real
    Posts
    13

    Error al subir la bd a phpmyadmin.

    He creado una pagina en local y ahora quiero subirla al hosting, pero resulta que al intentar subir la bd al dominio, al intentar importarla me da el siguiente error:

    Code:
    Error
    
    consulta SQL:
    
    -- 
    -- Base de datos: `medinacelicomunidad161`
    -- 
    -- --------------------------------------------------------
    -- 
    -- Estructura de tabla para la tabla `jos_assets`
    -- 
     CREATETABLE`jos_assets` ( `id` int( 10)unsigned NOTNULLAUTO_INCREMENTCOMMENT'Primary Key',
     `parent_id` int( 11)NOTNULL default'0' COMMENT'Nested set parent.',
     `lft` int( 11)NOTNULL default'0' COMMENT'Nested set lft.',
     `rgt` int( 11)NOTNULL default'0' COMMENT'Nested set rgt.',
     `level` int( 10)unsigned NOTNULLCOMMENT'The cached level in the nested tree.',
     `name` varchar( 50)NOTNULLCOMMENT'The unique name for the asset.\n',
     `title` varchar( 100)NOTNULLCOMMENT'The descriptive title for the asset.',
     `rules` varchar( 5120)NOTNULLCOMMENT'JSON encoded access control.',
     PRIMARYKEY (`id`) ,
     UNIQUEKEY`idx_asset_name` (`name`) ,
     KEY`idx_lft_rgt` (`lft` ,`rgt`) ,
     KEY`idx_parent_id` (`parent_id`) 
    ) ENGINE=MYISAMDEFAULT CHARSET= utf8 AUTO_INCREMENT=232;
    
    
    
    MySQL ha dicho: 
    #1046 - No database selected
    como puedo solucionarlo.

    Gracias de antemano.
    Página realizada en: joomla
    Versión: 2.5.1
    URL: http://medinacelicr.x10.mx

  2. #2
    fauffitsnew75's Avatar
    fauffitsnew75 is offline x10Hosting Member fauffitsnew75 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    10

    Cool Re: Error al subir la bd a phpmyadmin.

    eso te sale porque no le as dicho a que base de datos pertenese la tabla

    te falta escribir USE NOMBRE_BASE y una vez adentro de la base la creas -> elegi la base primero y despues crea una tabla
    Last edited by fauffitsnew75; 04-01-2011 at 04:26 PM.

  3. #3
    medinacelicr's Avatar
    medinacelicr is offline x10Hosting Member medinacelicr is an unknown quantity at this point
    Join Date
    Mar 2009
    Location
    Ciudad Real
    Posts
    13

    Re: Error al subir la bd a phpmyadmin.

    No se si me he explicado bien, lo que hago es importar la bd que previamente he salvado de la que tengo en local, y es cuando me da ese error; lo mismo ocurre si lo intento con la opcion sql de phpmyadmin.

    He probado a importar ese misma bd en otro hosting y se han subido las tablas sin ningun problema.
    Last edited by medinacelicr; 04-01-2011 at 08:46 PM.
    Página realizada en: joomla
    Versión: 2.5.1
    URL: http://medinacelicr.x10.mx

  4. #4
    fauffitsnew75's Avatar
    fauffitsnew75 is offline x10Hosting Member fauffitsnew75 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    10

    Re: Error al subir la bd a phpmyadmin.

    hummmm el error dice que no tienes ninguna DB selecionada u.u revisa bm si no toca configurarle algo al file antes de suvirlo linea 1046

  5. #5
    rubencit's Avatar
    rubencit is offline x10Hosting Member rubencit is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    28

    Re: Error al subir la bd a phpmyadmin.

    respuesta simple para ti: -____-

    PRIMERO: programa bien tu script ".db" (Archivo de base de datos)
    SEGUNDO: si aun no sabes programar una ".db" visita youtube aqui veras como crear un buen Archivo de base de datos desde cero!

+ Reply to Thread

Similar Threads

  1. Error on PHPMyAdmin
    By bethstar in forum Free Hosting
    Replies: 1
    Last Post: 03-26-2011, 08:16 PM
  2. Error in PHPmyAdmin. What can I do?
    By t.miedema30 in forum Free Hosting
    Replies: 2
    Last Post: 07-13-2010, 01:31 AM
  3. MySQL Error: phpMyAdmin gives Access Denied error
    By anoviceyup in forum Free Hosting
    Replies: 0
    Last Post: 07-06-2010, 04:38 AM
  4. phpmyadmin Error
    By prathamk in forum Free Hosting
    Replies: 3
    Last Post: 06-24-2010, 03:29 AM
  5. Replies: 3
    Last Post: 03-24-2010, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers